reverting because part of PR 1646: make sure to force resorting after an item list...
authorVoyager1 <Voyager@xbmc.org>
Sun, 21 Oct 2012 11:25:11 +0000 (13:25 +0200)
committerVoyager1 <Voyager@xbmc.org>
Sun, 21 Oct 2012 11:25:11 +0000 (13:25 +0200)
xbmc/windows/GUIMediaWindow.cpp

index bfcd7f1..293f47d 100644 (file)
@@ -819,8 +819,6 @@ bool CGUIMediaWindow::Update(const CStdString &strDirectory)
 
   m_guiState.reset(CGUIViewState::GetViewState(GetID(), *m_vecItems));
 
-  // if refreshing current list, make sure to clear fileitemlist's sort state, to force resorting.
-  if (refresh) m_vecItems->ClearSortState();
   FormatAndSort(*m_vecItems);
 
   // Ask the devived class if it wants to do custom list operations,