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

Pressing the Blue in the main menu during normal live viewing mode now opens the Recordings menu if there is no "last viewed" recording

This commit is contained in:
Klaus Schmidinger 2012-10-03 10:18:58 +02:00
parent 1b7a32472e
commit 90d854c0b4
2 changed files with 4 additions and 3 deletions

View File

@ -7276,3 +7276,4 @@ Video Disk Recorder Revision History
- Pressing the Play key during normal live viewing mode now opens the Recordings menu
if there is no "last viewed" recording (thanks to Alexander Wenzel).
The same behavior has been implemented for the Blue key in the main menu.

6
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 2.61 2012/09/15 11:45:28 kls Exp $
* $Id: menu.c 2.62 2012/10/03 10:14:53 kls Exp $
*/
#include "menu.h"
@ -3418,7 +3418,7 @@ bool cMenuMain::Update(bool Force)
stopReplayItem = NULL;
}
// Color buttons:
SetHelp(!replaying ? tr("Button$Record") : NULL, tr("Button$Audio"), replaying ? NULL : tr("Button$Pause"), replaying ? tr("Button$Stop") : cReplayControl::LastReplayed() ? tr("Button$Resume") : NULL);
SetHelp(!replaying ? tr("Button$Record") : NULL, tr("Button$Audio"), replaying ? NULL : tr("Button$Pause"), replaying ? tr("Button$Stop") : cReplayControl::LastReplayed() ? tr("Button$Resume") : tr("Button$Play"));
result = true;
}
@ -3516,7 +3516,7 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
state = replaying ? osContinue : osPause;
break;
case kBlue: if (!HadSubMenu)
state = replaying ? osStopReplay : cReplayControl::LastReplayed() ? osReplay : osContinue;
state = replaying ? osStopReplay : cReplayControl::LastReplayed() ? osReplay : osRecordings;
break;
default: break;
}