summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-09 00:31:57 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-09 00:33:01 +0200
commitcac973fee3d828fac641f6de771054a32cfbbfe3 (patch)
tree92b54735e60543d6541a7f6720d866cfc9226f5c /src/calcurse.c
parent00ceca6000f4f9f160e3bb43e1771657b5cee4bf (diff)
downloadcalcurse-cac973fee3d828fac641f6de771054a32cfbbfe3.zip
Load todo items on startup
Reload (and show) items into the list box after reading data files. Reported-by: BARE Willy sprl <barewillysprl@euphonynet.be> Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 95a6dea..b128dbd 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -600,6 +600,8 @@ int main(int argc, char **argv)
io_startup_screen(no_data_file);
}
do_storage(1);
+ ui_todo_load_items();
+ ui_todo_sel_reset();
wins_slctd_set(conf.default_panel);
wins_update(FLAG_ALL);