summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-10-01 10:11:33 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-10-01 10:11:33 +0200
commit8f6bfd1ae7bcee4d8304aac3d8244977e06bd711 (patch)
treed853ce0af8073c8677ff1c5e6875e68c63641c91 /menu.c
parentecc07e33f3a6a83ce78e501dec2bfebb3bed6a57 (diff)
downloadvdr-8f6bfd1ae7bcee4d8304aac3d8244977e06bd711.tar.gz
vdr-8f6bfd1ae7bcee4d8304aac3d8244977e06bd711.tar.bz2
Fixed opening recording folders in case the last replayed recording no longer exists
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 a28c8a8b..4d5b9792 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.362 2005/09/25 13:37:21 kls Exp $
+ * $Id: menu.c 1.363 2005/10/01 10:09:35 kls Exp $
*/
#include "menu.h"
@@ -1513,6 +1513,7 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
SetCurrent(First());
else if (OpenSubMenus && cReplayControl::LastReplayed() && Open(true))
return;
+ Display();
SetHelpKeys();
}
@@ -1583,7 +1584,8 @@ void cMenuRecordings::Set(bool Refresh)
}
}
free(LastItemText);
- Display();
+ if (Refresh)
+ Display();
}
cRecording *cMenuRecordings::GetRecording(cMenuRecordingItem *Item)