summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
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 {