Commit 6e6cae5b authored by Olivier Teulière's avatar Olivier Teulière

* skins2/controls/ctrl_tree.cpp: Fixed a nasty bug. The tree playlist should

   now be much more stable.
parent 81b184ba
...@@ -132,6 +132,9 @@ int CtrlTree::maxItems() ...@@ -132,6 +132,9 @@ int CtrlTree::maxItems()
void CtrlTree::onUpdate( Subject<VarTree> &rTree ) void CtrlTree::onUpdate( Subject<VarTree> &rTree )
{ {
// Invalidate the position when the tree is updated
m_lastPos = m_rTree.begin();
autoScroll(); autoScroll();
m_pLastSelected = NULL; m_pLastSelected = NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment