aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/pvr/PVRManager.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/xbmc/pvr/PVRManager.cpp b/xbmc/pvr/PVRManager.cpp
index 0e4f7ba693..adc320ff92 100644
--- a/xbmc/pvr/PVRManager.cpp
+++ b/xbmc/pvr/PVRManager.cpp
@@ -1438,9 +1438,15 @@ bool CPVRManager::PerformChannelSwitch(const CPVRChannelPtr &channel, bool bPrev
return false;
}
- // no need to do anything except switching m_currentFile
if (bPreview)
{
+ if (!g_infoManager.GetShowInfo())
+ {
+ // no need to do anything
+ return true;
+ }
+
+ // no need to do anything except switching m_currentFile
delete m_currentFile;
m_currentFile = new CFileItem(channel);