From 616c3759a5f28f3f6229af6d5d7ea0f302cbb17c Mon Sep 17 00:00:00 2001
From: Lukas Fleischer <lfleischer@calcurse.org>
Date: Sun, 7 Feb 2016 14:06:21 +0100
Subject: Fix highlighting of busy days on initialization

Make sure that the monthly view cache is invalidated after the data
files are loaded.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
---
 src/calcurse.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src')

diff --git a/src/calcurse.c b/src/calcurse.c
index 7bd9def..4218962 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -620,6 +620,7 @@ int main(int argc, char **argv)
 		wins_update(FLAG_ALL);
 		io_startup_screen(no_data_file);
 	}
+	ui_calendar_monthly_view_cache_set_invalid();
 	do_storage(1);
 	ui_todo_load_items();
 	ui_todo_sel_reset();
-- 
cgit v1.2.3-70-g09d2