summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 9288198d..25ffb2cc 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.77 2013/02/11 11:08:54 kls Exp $
+ * $Id: menu.c 2.78 2013/02/12 13:10:53 kls Exp $
*/
#include "menu.h"
@@ -2306,8 +2306,10 @@ void cMenuRecordings::Set(bool Refresh)
if (CurrentRecording && strcmp(CurrentRecording, recording->FileName()) == 0)
SetCurrent(LastItem);
}
- if (LastDir)
+ if (LastDir) {
LastDir->IncrementCounter(recording->IsNew());
+ LastItem = LastDir;
+ }
}
}
if (Refresh)