Commit f90a24cc5b37d86c3fc1f271808c5d556056735b
1 parent
6b500566
Exists in
master
and in
1 other branch
Toggle should be the last options to load from key file to avoid
triger of autostart withou host info.
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/terminal/keyfile.c
... | ... | @@ -363,10 +363,6 @@ |
363 | 363 | |
364 | 364 | } |
365 | 365 | |
366 | - // Load Toggles | |
367 | - for(ix = 0; ix < G_N_ELEMENTS(klass->properties.toggle); ix++) | |
368 | - load_by_pspec(widget,klass->properties.toggle[ix],key_file,group_name); | |
369 | - | |
370 | 366 | // Load V3270 properties |
371 | 367 | for(ix = 0; klass->properties.persistent[ix];ix++) |
372 | 368 | { |
... | ... | @@ -379,6 +375,10 @@ |
379 | 375 | |
380 | 376 | } |
381 | 377 | |
378 | + // Load Toggles | |
379 | + for(ix = 0; ix < G_N_ELEMENTS(klass->properties.toggle); ix++) | |
380 | + load_by_pspec(widget,klass->properties.toggle[ix],key_file,group_name); | |
381 | + | |
382 | 382 | g_object_thaw_notify(G_OBJECT(widget)); |
383 | 383 | terminal->freeze = 0; |
384 | 384 | ... | ... |