mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
The 'new' indicator in the Recordings menu is now kept up-to-date
This commit is contained in:
11
menu.c
11
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 {
|
||||
|
Reference in New Issue
Block a user