summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-08-03 23:45:29 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-08-03 23:51:10 +0200
commitea900a863a36040711ad27ed07beeeeb2fddfe71 (patch)
treeea54d71c1de4ab8ba1859b250655e44e18fb20c7 /src
parentc093fcdfbf6460f011c5be39ae71150a0250a115 (diff)
downloadcalcurse-ea900a863a36040711ad27ed07beeeeb2fddfe71.tar.gz
calcurse-ea900a863a36040711ad27ed07beeeeb2fddfe71.zip
Set default panel before showing system dialogs
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r--src/calcurse.c2
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. */