Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

pvr window: switch to new view before showing dummy busy item

dummy item might cause crash if timeline was last view
  • Loading branch information...
commit 141fb530ad6654ccad362d061f7648499670d31d 1 parent cbb08fb
@pieh pieh authored
View
2  xbmc/pvr/windows/GUIWindowPVRChannels.cpp
@@ -207,9 +207,9 @@ void CGUIWindowPVRChannels::UpdateData(bool bUpdateSelectedFile /* = true */)
CPVRChannelGroupPtr selectedGroup = SelectedGroup();
m_iSelected = m_parent->m_viewControl.GetSelectedItem();
+ m_parent->m_viewControl.SetCurrentView(m_iControlList);
ShowBusyItem();
m_parent->m_vecItems->Clear();
- m_parent->m_viewControl.SetCurrentView(m_iControlList);
CPVRChannelGroupPtr currentGroup = g_PVRManager.GetPlayingGroup(m_bRadio);
if (!currentGroup)
View
2  xbmc/pvr/windows/GUIWindowPVRRecordings.cpp
@@ -208,9 +208,9 @@ void CGUIWindowPVRRecordings::UpdateData(bool bUpdateSelectedFile /* = true */)
else
m_strSelectedPath = m_parent->m_vecItems->GetPath();
+ m_parent->m_viewControl.SetCurrentView(m_iControlList);
ShowBusyItem();
m_parent->m_vecItems->Clear();
- m_parent->m_viewControl.SetCurrentView(m_iControlList);
m_parent->m_vecItems->SetPath(m_strSelectedPath);
m_parent->Update(m_strSelectedPath);
m_parent->m_viewControl.SetItems(*m_parent->m_vecItems);
View
2  xbmc/pvr/windows/GUIWindowPVRTimers.cpp
@@ -105,9 +105,9 @@ void CGUIWindowPVRTimers::UpdateData(bool bUpdateSelectedFile /* = true */)
CSingleLock graphicsLock(g_graphicsContext);
m_iSelected = m_parent->m_viewControl.GetSelectedItem();
+ m_parent->m_viewControl.SetCurrentView(m_iControlList);
ShowBusyItem();
m_parent->m_vecItems->Clear();
- m_parent->m_viewControl.SetCurrentView(m_iControlList);
m_parent->m_vecItems->SetPath("pvr://timers/");
m_parent->Update(m_parent->m_vecItems->GetPath());
m_parent->m_vecItems->Sort(m_iSortMethod, m_iSortOrder);
Please sign in to comment.
Something went wrong with that request. Please try again.