diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-08-03 23:45:29 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-08-03 23:51:10 +0200 |
commit | ea900a863a36040711ad27ed07beeeeb2fddfe71 (patch) | |
tree | ea54d71c1de4ab8ba1859b250655e44e18fb20c7 | |
parent | c093fcdfbf6460f011c5be39ae71150a0250a115 (diff) | |
download | calcurse-ea900a863a36040711ad27ed07beeeeb2fddfe71.zip |
Set default panel before showing system dialogs
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r-- | src/calcurse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 743f37d..ffd7020 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -686,6 +686,7 @@ int main(int argc, char **argv) io_load_todo(); io_load_app(); io_unset_modified(); + wins_slctd_set(conf.default_panel); wins_resize(); /* * Refresh the hidden key handler window here to prevent wgetch() from @@ -699,7 +700,6 @@ int main(int argc, char **argv) do_storage(1); ui_todo_load_items(); ui_todo_sel_reset(); - wins_slctd_set(conf.default_panel); wins_update(FLAG_ALL); /* Start miscellaneous threads. */ |