summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-02-05 13:32:14 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-02-05 13:32:14 +0100
commit2a91ee0fef8c9147b774aeecb827a5cb961e6910 (patch)
tree998641eb99d1cf5aabbb5a925d705e7de0fb9115
parentd13a7457bd7276a29b02b0cb9b00c363dafcb0e1 (diff)
downloadvdr-2a91ee0fef8c9147b774aeecb827a5cb961e6910.tar.gz
vdr-2a91ee0fef8c9147b774aeecb827a5cb961e6910.tar.bz2
Fixed handling the "Blue" key in the "Schedule" menu for the current channel
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--menu.c4
3 files changed, 5 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index a952120c..6329c45e 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -950,6 +950,7 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
for a patch that was used to implement automatic cursor advance when entering text
via the numeric keys
for reporting a problem with expired timers when shutting down via the Power key
+ for fixing handling the "Blue" key in the "Schedule" menu for the current channel
Ralf Klueber <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark
diff --git a/HISTORY b/HISTORY
index b70e7780..889f2e87 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4307,3 +4307,5 @@ Video Disk Recorder Revision History
(reported by Christian Jacobsen).
- Enabled generating a core dump if VDR is run with a different user id (thanks
to Ville Skyttä).
+- Fixed handling the "Blue" key in the "Schedule" menu for the current channel
+ (thanks to Rolf Ahrenberg).
diff --git a/menu.c b/menu.c
index 474022a2..d9c6b04c 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.409 2006/02/04 14:47:27 kls Exp $
+ * $Id: menu.c 1.410 2006/02/05 13:31:08 kls Exp $
*/
#include "menu.h"
@@ -1437,7 +1437,7 @@ eOSState cMenuSchedule::ProcessKey(eKeys Key)
case kYellow: if (schedules)
return AddSubMenu(new cMenuWhatsOn(schedules, false, cMenuWhatsOn::CurrentChannel()));
break;
- case kBlue: if (Count())
+ case kBlue: if (Count() && otherChannel)
return Switch();
break;
case kOk: if (Count())