From 9f2238885fd632ef4641170f09b2ed1521db939c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 11 May 2003 12:21:58 +0200 Subject: [PATCH] Avoiding short display of the 'Main' menu when pressing the 'Recordings' button or the 'Back' button during replay --- HISTORY | 2 ++ menu.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index ecba5709..41e22400 100644 --- a/HISTORY +++ b/HISTORY @@ -2133,3 +2133,5 @@ Video Disk Recorder Revision History "short event" or a "time shifted event" (thanks to Jonan Santiago). - Disabled the "Received stuffing section in EIT" log message. - 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. diff --git a/menu.c b/menu.c index 7fc2f366..16969f3f 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.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" @@ -1704,6 +1704,7 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus) { base = Base ? strdup(Base) : NULL; level = Setup.RecordingDirs ? Level : -1; + Display(); // this keeps the higher level menus from showing up briefly when pressing 'Back' during replay if (!Base) { Interface->Status(tr("scanning recordings...")); Interface->Flush(); @@ -1737,7 +1738,6 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus) else if (OpenSubMenus && Open(true)) return; } - Display(); // this keeps the higher level menus from showing up briefly when pressing 'Back' during replay SetHelpKeys(); }