Fix update timer in the main menu

The timers in the open main menu were not updated when a timer recording
was started or stopped
This commit is contained in:
kamel5 2021-05-18 13:37:39 +02:00
parent 3c7e014dcc
commit ebd99e119c

View File

@ -1269,11 +1269,6 @@ void cViewMenuMain::DrawStaticVEs(void) {
if (discusage->Parse())
discusage->Render();
}
if (timers) {
timers->Show();
if (timers->Parse())
timers->Render();
}
if (currentSchedule) {
currentSchedule->Show();
if (currentSchedule->Parse())
@ -1297,6 +1292,11 @@ void cViewMenuMain::DrawDynamicVEs(void) {
lastDrawDynamic = now;
}
if (timers) {
timers->Show();
if (timers->Parse())
timers->Render();
}
if (devices) {
devices->Show();
if (devices->Parse())