diff options
author | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2016-02-07 09:34:38 +0100 |
---|---|---|
committer | Kai Sommerfeld <kai.sommerfeld@gmx.com> | 2016-02-07 14:13:59 +0100 |
commit | 648ae83c0bbc1bc674813aeb6447157d1ee74df0 (patch) | |
tree | d602882c542fcad6f91b36e09c8ebe102b03bf97 | |
parent | 3afb62559e3ac5db8ebadfe7d83c25c534552404 (diff) |
[PVR] PVR Windows: Only the active window must update the shared slected item path.
-rw-r--r-- | xbmc/pvr/windows/GUIWindowPVRBase.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xbmc/pvr/windows/GUIWindowPVRBase.cpp b/xbmc/pvr/windows/GUIWindowPVRBase.cpp index bdc0e626bf..6b7937c5d0 100644 --- a/xbmc/pvr/windows/GUIWindowPVRBase.cpp +++ b/xbmc/pvr/windows/GUIWindowPVRBase.cpp @@ -87,7 +87,13 @@ std::string CGUIWindowPVRBase::GetSelectedItemPath(bool bRadio) void CGUIWindowPVRBase::Notify(const Observable &obs, const ObservableMessage msg) { - UpdateSelectedItemPath(); + if (IsActive()) + { + // Only the active window must set the selected item path which is shared + // between all PVR windows, not the last notified window (observer). + UpdateSelectedItemPath(); + } + CGUIMessage m(GUI_MSG_REFRESH_LIST, GetID(), 0, msg); CApplicationMessenger::GetInstance().SendGUIMessage(m); } |