summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2018-02-10 10:54:33 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2018-02-10 10:54:33 +0100
commit30650b9c13869fed015d0e657b8ce23fa5ee09ca (patch)
tree925f25a197c60adad34da77e7879c6d5a81a73f3
parent5976079fd3ceae44c2d79901e8f80800719a4e9d (diff)
downloadvdr-30650b9c13869fed015d0e657b8ce23fa5ee09ca.tar.gz
vdr-30650b9c13869fed015d0e657b8ce23fa5ee09ca.tar.bz2
Fixed updating the Timers menu after turning a local timer on/off with the Red button
-rw-r--r--HISTORY4
-rw-r--r--menu.c7
2 files changed, 7 insertions, 4 deletions
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;
}