diff options
author | louis <louis.braun@gmx.de> | 2013-12-22 11:03:52 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-22 11:03:52 +0100 |
commit | cd4ca89f8b5dec057f3e98a108e6d9a2f5e279b3 (patch) | |
tree | def57fa48190457c70e93f64e08596dc654a2728 | |
parent | edc1bb1d7119defcaa155cf993f52889717458c0 (diff) | |
download | vdr-plugin-tvguide-cd4ca89f8b5dec057f3e98a108e6d9a2f5e279b3.tar.gz vdr-plugin-tvguide-cd4ca89f8b5dec057f3e98a108e6d9a2f5e279b3.tar.bz2 |
fixed channel switching with blue key
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | tvguideosd.c | 7 |
2 files changed, 8 insertions, 1 deletions
@@ -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 diff --git a/tvguideosd.c b/tvguideosd.c index 5cccc67..344c625 100644 --- a/tvguideosd.c +++ b/tvguideosd.c @@ -498,8 +498,13 @@ 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;
}
|