mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
No longer closing the Channels menu after trying to switch to a channel that is currently not available
This commit is contained in:
parent
64683c2438
commit
0d6715d862
2
HISTORY
2
HISTORY
@ -2646,3 +2646,5 @@ Video Disk Recorder Revision History
|
|||||||
value 0 (thanks to Thomas Bergwinkl).
|
value 0 (thanks to Thomas Bergwinkl).
|
||||||
- Enabled switching to a channel even if it has no Vpid or Apid set, because these
|
- Enabled switching to a channel even if it has no Vpid or Apid set, because these
|
||||||
might be automatically set when tuned to that transponder.
|
might be automatically set when tuned to that transponder.
|
||||||
|
- No longer closing the Channels menu after trying to switch to a channel that
|
||||||
|
is currently not available.
|
||||||
|
4
menu.c
4
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 1.282 2004/01/25 14:40:00 kls Exp $
|
* $Id: menu.c 1.283 2004/02/08 14:12:23 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
@ -723,7 +723,7 @@ eOSState cMenuChannels::Switch(void)
|
|||||||
return osContinue;
|
return osContinue;
|
||||||
cChannel *ch = GetChannel(Current());
|
cChannel *ch = GetChannel(Current());
|
||||||
if (ch)
|
if (ch)
|
||||||
cDevice::PrimaryDevice()->SwitchChannel(ch, true);
|
return cDevice::PrimaryDevice()->SwitchChannel(ch, true) ? osEnd : osContinue;
|
||||||
return osEnd;
|
return osEnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user