Fix a duplicate layout parent issue

This commit is contained in:
Robin Gareus 2019-09-29 22:42:02 +02:00
parent 056c958b4e
commit 5044dad3f2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 1 additions and 1 deletions

View File

@ -662,7 +662,7 @@ EngineControl::build_full_control_notebook ()
}
/* Prefere next available vertical slot, 1 row */
if (btn < row) {
if (btn < row && !autostart_packed) {
basic_packer.attach (try_autostart_button, 3, 4, btn, btn + 1, xopt, xopt);
btn++;
autostart_packed = true;