diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-01 10:11:33 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-10-01 10:11:33 +0200 |
commit | 8f6bfd1ae7bcee4d8304aac3d8244977e06bd711 (patch) | |
tree | d853ce0af8073c8677ff1c5e6875e68c63641c91 /menu.c | |
parent | ecc07e33f3a6a83ce78e501dec2bfebb3bed6a57 (diff) | |
download | vdr-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.c | 6 |
1 files changed, 4 insertions, 2 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.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) |