aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/io.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index 7411a6b..fcb13ae 100644
--- a/src/io.c
+++ b/src/io.c
@@ -693,8 +693,10 @@ void io_load_todo(struct item_filter *filter)
/* Load appointments and todo items */
void io_load_data(struct item_filter *filter)
{
+ run_hook("pre-load");
io_load_app(filter);
io_load_todo(filter);
+ run_hook("post-load");
}
void io_reload_data(void)