diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-04-17 09:44:01 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-04-17 09:44:01 +0200 |
commit | fa8c7c35b5869497df02253cd7b6fc6da566f423 (patch) | |
tree | 75fe4880677b3c3cb0ab9bb6b2b28208bbca80f0 /menu.c | |
parent | 3d13eb002fbfe7b303f0f873e59623cb448dff5f (diff) | |
download | vdr-fa8c7c35b5869497df02253cd7b6fc6da566f423.tar.gz vdr-fa8c7c35b5869497df02253cd7b6fc6da566f423.tar.bz2 |
Fixed the timer indicator in the Schedule menu in case an event is already over, but the timer is still recording
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 5.3 2021/01/14 10:29:05 kls Exp $ + * $Id: menu.c 5.4 2021/04/17 09:44:01 kls Exp $ */ #include "menu.h" @@ -1602,7 +1602,7 @@ bool cMenuScheduleItem::Update(const cTimers *Timers, bool Force) eTimerMatch OldTimerMatch = timerMatch; bool OldTimerActive = timerActive; const cTimer *Timer = Timers->GetMatch(event, &timerMatch); - if (event->EndTime() < time(NULL) && !event->IsRunning()) + if (event->EndTime() < time(NULL) && !event->IsRunning() && (!Timer || !Timer->Recording())) timerMatch = tmNone; timerActive = Timer && Timer->HasFlags(tfActive); if (Force || timerMatch != OldTimerMatch || timerActive != OldTimerActive) { |