From ea900a863a36040711ad27ed07beeeeb2fddfe71 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sun, 3 Aug 2014 23:45:29 +0200 Subject: Set default panel before showing system dialogs Signed-off-by: Lukas Fleischer --- src/calcurse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.2.3-70-g09d2