From c4e010f1cd307a5919cace98f82941a57bc91573 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Mon, 3 Feb 2014 00:05:42 -0600 Subject: update the header state when the planner's appointments change --- src/menu.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/menu.cpp') diff --git a/src/menu.cpp b/src/menu.cpp index b3dcc53..5d97859 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -108,6 +108,7 @@ protected: update_section(Appointments); // showing events got toggled }); m_state->planner->upcoming.changed().connect([this](const std::vector&){ + update_header(); // show an 'alarm' icon if there are upcoming alarms update_section(Appointments); // "upcoming" is the list of Appointments we show }); m_state->clock->date_changed.connect([this](){ -- cgit v1.2.3