mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
fixed channel switching with blue key
This commit is contained in:
parent
edc1bb1d71
commit
cd4ca89f8b
2
HISTORY
2
HISTORY
@ -86,3 +86,5 @@ Version 1.1.0
|
||||
(configurable in Makefile)
|
||||
- Added russian and catalan translation
|
||||
- Added slovakian translation
|
||||
- fixed channel switching with blue key if detailed epg view is opened and
|
||||
if "close tvguide on channel switch" is configured
|
||||
|
@ -498,9 +498,14 @@ eOSState cTvGuideOsd::ChannelSwitch() {
|
||||
const cChannel *currentChannel = activeGrid->column->getChannel();
|
||||
if (currentChannel) {
|
||||
cDevice::PrimaryDevice()->SwitchChannel(currentChannel, true);
|
||||
if (tvguideConfig.closeOnSwitch)
|
||||
if (tvguideConfig.closeOnSwitch) {
|
||||
if (detailView) {
|
||||
delete detailView;
|
||||
detailView = NULL;
|
||||
}
|
||||
return osEnd;
|
||||
}
|
||||
}
|
||||
return osContinue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user