summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/menu.c b/menu.c
index 9ade0376..b5a0d250 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 2.64 2012/11/18 13:00:33 kls Exp $
+ * $Id: menu.c 2.65 2012/11/18 13:07:53 kls Exp $
*/
#include "menu.h"
@@ -4482,10 +4482,6 @@ cReplayControl::~cReplayControl()
Hide();
cStatus::MsgReplaying(this, NULL, fileName, false);
Stop();
- if (marksModified) {
- marks.Save();
- marksModified = false;
- }
if (currentReplayControl == this)
currentReplayControl = NULL;
}
@@ -4573,6 +4569,10 @@ void cReplayControl::Hide(void)
timeSearchActive = false;
timeoutShow = 0;
}
+ if (marksModified) {
+ marks.Save();
+ marksModified = false;
+ }
}
void cReplayControl::ShowMode(void)
@@ -4789,10 +4789,6 @@ void cReplayControl::EditCut(void)
{
if (*fileName) {
Hide();
- if (marksModified) {
- marks.Save();
- marksModified = false;
- }
if (!cCutter::Active()) {
if (!marks.Count())
Skins.Message(mtError, tr("No editing marks defined!"));