From: xhaggi Date: Sat, 19 Jul 2014 09:24:35 +0000 (+0200) Subject: [pvr] show channel info after channel switch from within channel osd X-Git-Tag: 14.0a2-Helix~34^2 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_xbmc;a=commitdiff_plain;h=458b66e7ea851790b537a5dc02bc31ed9d40166d [pvr] show channel info after channel switch from within channel osd --- diff --git a/xbmc/pvr/dialogs/GUIDialogPVRChannelsOSD.cpp b/xbmc/pvr/dialogs/GUIDialogPVRChannelsOSD.cpp index 4c3957d..09c3565 100644 --- a/xbmc/pvr/dialogs/GUIDialogPVRChannelsOSD.cpp +++ b/xbmc/pvr/dialogs/GUIDialogPVRChannelsOSD.cpp @@ -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); }