summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/calcurse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 8ba25ed..6e4ea08 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -317,6 +317,9 @@ static inline void key_generic_reload(void)
}
}
+ if (notify_bar())
+ notify_stop_main_thread();
+
/* Reinitialize data structures. */
apoint_llist_free();
event_llist_free();
@@ -336,6 +339,9 @@ static inline void key_generic_reload(void)
ui_todo_load_items();
ui_todo_sel_reset();
+ if (notify_bar())
+ notify_start_main_thread();
+
do_storage(0);
notify_check_next_app(1);
ui_calendar_monthly_view_cache_set_invalid();