diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 11:35:56 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-09-25 11:35:56 +0200 |
commit | da501a4b8299ca37efab4612a1a63d829beb2784 (patch) | |
tree | d3e25e26a8ac3fca57b3ddeacd4291badff81847 /menu.c | |
parent | 9e8aac388237e7afff6cae5bbf5ee08756633f53 (diff) | |
download | vdr-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.c | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 { |