[pvr] show channel info after channel switch from within channel osd
authorxhaggi <sascha.woo@gmail.com>
Sat, 19 Jul 2014 09:24:35 +0000 (11:24 +0200)
committerxhaggi <sascha.woo@gmail.com>
Sat, 19 Jul 2014 19:24:57 +0000 (21:24 +0200)
xbmc/pvr/dialogs/GUIDialogPVRChannelsOSD.cpp

index 4c3957d..09c3565 100644 (file)
@@ -217,7 +217,11 @@ void CGUIDialogPVRChannelsOSD::Clear()
 void CGUIDialogPVRChannelsOSD::CloseOrSelect(unsigned int iItem)
 {
   if (CSettings::Get().GetBool("pvrmenu.closechannelosdonswitch"))
+  {
+    if (CSettings::Get().GetInt("pvrmenu.displaychannelinfo") > 0)
+      g_PVRManager.ShowPlayerInfo(CSettings::Get().GetInt("pvrmenu.displaychannelinfo"));
     Close();
+  }
   else
     m_viewControl.SetSelectedItem(iItem);
 }