diff options
-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;
}
|