diff options
Diffstat (limited to 'tvguideosd.c')
-rw-r--r-- | tvguideosd.c | 7 |
1 files changed, 6 insertions, 1 deletions
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;
}
|