summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-12 14:58:48 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-12 14:58:48 +0200
commita62790ed09b1cf75e9a66821ed65c0a0f511e092 (patch)
tree8b6bb7c35091897e5d01a3a38769a7d924d127d6 /menu.c
parent145d376ec1dde8fa2dbdd5b79f8544c2a60de158 (diff)
downloadvdr-a62790ed09b1cf75e9a66821ed65c0a0f511e092.tar.gz
vdr-a62790ed09b1cf75e9a66821ed65c0a0f511e092.tar.bz2
Fixed handling of 'Green' button in 'Schedules' menu if channel as a second audio PID
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/menu.c b/menu.c
index 4dd7d445..189c9279 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.76 2001/07/12 14:16:43 kls Exp $
+ * $Id: menu.c 1.77 2001/07/12 14:56:18 kls Exp $
*/
#include "menu.h"
@@ -1768,10 +1768,12 @@ eOSState cMenuMain::ProcessKey(eKeys Key)
case kRed: if (!HasSubMenu())
state = osRecord;
break;
- case kGreen: if (cDvbApi::PrimaryDvbApi->CanToggleAudioTrack()) {
- Interface->Clear();
- cDvbApi::PrimaryDvbApi->ToggleAudioTrack();
- state = osEnd;
+ case kGreen: if (!HasSubMenu()) {
+ if (cDvbApi::PrimaryDvbApi->CanToggleAudioTrack()) {
+ Interface->Clear();
+ cDvbApi::PrimaryDvbApi->ToggleAudioTrack();
+ state = osEnd;
+ }
}
break;
case kBlue: if (!HasSubMenu())