1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Avoiding short display of the 'Main' menu when pressing the 'Recordings' button or the 'Back' button during replay

This commit is contained in:
Klaus Schmidinger 2003-05-11 12:21:58 +02:00
parent 236c8da4bf
commit 9f2238885f
2 changed files with 4 additions and 2 deletions

View File

@ -2133,3 +2133,5 @@ Video Disk Recorder Revision History
"short event" or a "time shifted event" (thanks to Jonan Santiago). "short event" or a "time shifted event" (thanks to Jonan Santiago).
- Disabled the "Received stuffing section in EIT" log message. - Disabled the "Received stuffing section in EIT" log message.
- Updated 'channels.conf.terr' for Berlin (thanks to Juri Haberland). - Updated 'channels.conf.terr' for Berlin (thanks to Juri Haberland).
- Avoiding short display of the "Main" menu when pressing the "Recordings" button
or the "Back" button during replay.

4
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 1.241 2003/05/03 15:59:07 kls Exp $ * $Id: menu.c 1.242 2003/05/11 12:19:11 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -1704,6 +1704,7 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
{ {
base = Base ? strdup(Base) : NULL; base = Base ? strdup(Base) : NULL;
level = Setup.RecordingDirs ? Level : -1; level = Setup.RecordingDirs ? Level : -1;
Display(); // this keeps the higher level menus from showing up briefly when pressing 'Back' during replay
if (!Base) { if (!Base) {
Interface->Status(tr("scanning recordings...")); Interface->Status(tr("scanning recordings..."));
Interface->Flush(); Interface->Flush();
@ -1737,7 +1738,6 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus)
else if (OpenSubMenus && Open(true)) else if (OpenSubMenus && Open(true))
return; return;
} }
Display(); // this keeps the higher level menus from showing up briefly when pressing 'Back' during replay
SetHelpKeys(); SetHelpKeys();
} }