Fixed handling the "Blue" key in the "Schedule" menu for the current channel

This commit is contained in:
Klaus Schmidinger 2006-02-05 13:32:14 +01:00
parent d13a7457bd
commit 2a91ee0fef
3 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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).

4
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 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())