diff --git a/HISTORY b/HISTORY index 8c7987a2..3b7d8c04 100644 --- a/HISTORY +++ b/HISTORY @@ -9162,7 +9162,7 @@ Video Disk Recorder Revision History a subdirectory. - SVDRP peering can now be limited to the default SVDRP host (see MANUAL for details). -2018-02-09: Version 2.3.9 +2018-02-10: Version 2.3.9 - Updated the Italian OSD texts (thanks to Diego Pierotto). - Updated the Finnish OSD texts (thanks to Rolf Ahrenberg). @@ -9262,3 +9262,5 @@ Video Disk Recorder Revision History - Replaced the warning regarding the open SVDRP port in the INSTALL file with a remark about using svdrphosts.conf to completely disable SVDRP access. - Added a note about the fixed UDP port for SVDRP discovery to vdr.1. +- Fixed updating the Timers menu after turning a local timer on/off with the Red + button. diff --git a/menu.c b/menu.c index e69f4db6..ce057839 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 4.57 2018/02/01 15:48:54 kls Exp $ + * $Id: menu.c 4.58 2018/02/10 10:51:49 kls Exp $ */ #include "menu.h" @@ -1295,7 +1295,8 @@ eOSState cMenuTimers::OnOff(void) { if (HasSubMenu()) return osContinue; - cTimers::GetTimersWrite(timersStateKey); + cStateKey StateKey; + cTimers::GetTimersWrite(StateKey); cTimer *Timer = GetTimer(); if (Timer) { Timer->OnOff(); @@ -1313,7 +1314,7 @@ eOSState cMenuTimers::OnOff(void) else isyslog("%sactivated timer %s", Timer->HasFlags(tfActive) ? "" : "de", *Timer->ToDescr()); } - timersStateKey.Remove(Timer != NULL); + StateKey.Remove(Timer != NULL); return osContinue; }