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:
parent
1b7a32472e
commit
90d854c0b4
1
HISTORY
1
HISTORY
@ -7276,3 +7276,4 @@ Video Disk Recorder Revision History
|
|||||||
|
|
||||||
- Pressing the Play key during normal live viewing mode now opens the Recordings menu
|
- 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).
|
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
6
menu.c
@ -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 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"
|
#include "menu.h"
|
||||||
@ -3418,7 +3418,7 @@ bool cMenuMain::Update(bool Force)
|
|||||||
stopReplayItem = NULL;
|
stopReplayItem = NULL;
|
||||||
}
|
}
|
||||||
// Color buttons:
|
// 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;
|
result = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3516,7 +3516,7 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
|
|||||||
state = replaying ? osContinue : osPause;
|
state = replaying ? osContinue : osPause;
|
||||||
break;
|
break;
|
||||||
case kBlue: if (!HadSubMenu)
|
case kBlue: if (!HadSubMenu)
|
||||||
state = replaying ? osStopReplay : cReplayControl::LastReplayed() ? osReplay : osContinue;
|
state = replaying ? osStopReplay : cReplayControl::LastReplayed() ? osReplay : osRecordings;
|
||||||
break;
|
break;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user