Skip to content
This repository
Browse code

CGUIBaseContainer: nullify last item when reseting items - this makes…

… sure we will queue focus animation when refreshing item list
  • Loading branch information...
commit f61f8bafb9d7c042ba016487a46f74dc9945f2a6 1 parent a60f3f9
Michal Piechowiak authored December 11, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  xbmc/guilib/GUIBaseContainer.cpp
1  xbmc/guilib/GUIBaseContainer.cpp
@@ -1023,6 +1023,7 @@ void CGUIBaseContainer::Reset()
1023 1023
 {
1024 1024
   m_wasReset = true;
1025 1025
   m_items.clear();
  1026
+  m_lastItem.reset();
1026 1027
 }
1027 1028
 
1028 1029
 void CGUIBaseContainer::LoadLayout(TiXmlElement *layout)

0 notes on commit f61f8ba

Please sign in to comment.
Something went wrong with that request. Please try again.