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>
This commit is contained in:
Lukas Fleischer
2014-07-09 00:31:57 +02:00
parent 00ceca6000
commit cac973fee3
3 changed files with 8 additions and 0 deletions

View File

@@ -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);