aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index bb52bce..6e8ae55 100644
--- a/src/io.c
+++ b/src/io.c
@@ -905,6 +905,7 @@ void io_load_data(struct item_filter *filter)
io_load_app(filter);
io_load_todo(filter);
io_mutex_unlock();
+ io_unset_modified();
}
int io_reload_data(void)
@@ -958,9 +959,8 @@ int io_reload_data(void)
todo_init_list();
io_load_data(NULL);
- run_hook("post-load");
- io_unset_modified();
+ run_hook("post-load");
if (show_dialogs()) {
status_mesg(reload_success, enter);