summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-09-25 11:35:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-09-25 11:35:56 +0200
commitda501a4b8299ca37efab4612a1a63d829beb2784 (patch)
treed3e25e26a8ac3fca57b3ddeacd4291badff81847 /menu.c
parent9e8aac388237e7afff6cae5bbf5ee08756633f53 (diff)
downloadvdr-da501a4b8299ca37efab4612a1a63d829beb2784.tar.gz
vdr-da501a4b8299ca37efab4612a1a63d829beb2784.tar.bz2
The 'new' indicator in the Recordings menu is now kept up-to-date
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index ce415ea3..5423416c 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 1.360 2005/09/25 09:45:01 kls Exp $
+ * $Id: menu.c 1.361 2005/09/25 11:30:55 kls Exp $
*/
#include "menu.h"
@@ -2221,6 +2221,8 @@ cMenuSetupRecord::cMenuSetupRecord(void)
// --- cMenuSetupReplay ------------------------------------------------------
class cMenuSetupReplay : public cMenuSetupBase {
+protected:
+ virtual void Store(void);
public:
cMenuSetupReplay(void);
};
@@ -2233,6 +2235,13 @@ cMenuSetupReplay::cMenuSetupReplay(void)
Add(new cMenuEditIntItem(tr("Setup.Replay$Resume ID"), &data.ResumeID, 0, 99));
}
+void cMenuSetupReplay::Store(void)
+{
+ if (Setup.ResumeID != data.ResumeID)
+ Recordings.ResetResume();
+ cMenuSetupBase::Store();
+}
+
// --- cMenuSetupMisc --------------------------------------------------------
class cMenuSetupMisc : public cMenuSetupBase {