diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-28 10:21:01 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-10-28 10:21:01 +0100 |
commit | d64416b922d54f1a0fda25d00cd51faf14bafcc3 (patch) | |
tree | 6cb34ff4c8c0d6ffcf392242a8058d64cfc9e4fe /menu.c | |
parent | 8690654eafe6832e1cd006504602fb8b61da8248 (diff) | |
download | vdr-d64416b922d54f1a0fda25d00cd51faf14bafcc3.tar.gz vdr-d64416b922d54f1a0fda25d00cd51faf14bafcc3.tar.bz2 |
Fixed closing the progress display with the 'Back' key when in trick mode and Setup.ShowReplayMode is enabled (cont'd)
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 15 |
1 files changed, 7 insertions, 8 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.134 2001/10/27 13:47:12 kls Exp $ + * $Id: menu.c 1.135 2001/10/28 10:04:50 kls Exp $ */ #include "menu.h" @@ -2369,8 +2369,6 @@ cReplayControl::cReplayControl(void) cReplayControl::~cReplayControl() { Hide(); - if (Setup.ShowReplayMode) - Hide(); // the initial Hide() may have reopened the small mode display window dvbApi->StopReplay(); } @@ -2424,10 +2422,7 @@ void cReplayControl::Hide(void) if (visible) { Interface->Close(); needsFastResponse = visible = false; - if (!modeOnly) - ShowMode(); - else - modeOnly = false; + modeOnly = false; } } @@ -2680,6 +2675,7 @@ void cReplayControl::EditCut(void) } else Interface->Error(tr("Editing process already active!")); + ShowMode(); } } @@ -2708,6 +2704,7 @@ eOSState cReplayControl::ProcessKey(eKeys Key) if (visible) { if (timeoutShow && time(NULL) > timeoutShow) { Hide(); + ShowMode(); timeoutShow = 0; } else if (!modeOnly) @@ -2757,8 +2754,10 @@ eOSState cReplayControl::ProcessKey(eKeys Key) switch (Key) { // Menu control: case kMenu: Hide(); return osMenu; // allow direct switching to menu - case kOk: if (visible && !modeOnly) + case kOk: if (visible && !modeOnly) { Hide(); + DoShowMode = true; + } else Show(); break; |