Commit da5c34b4 authored by Erwan Tulou's avatar Erwan Tulou

skins2: don't default the first visible item to selected

This proves ugly when changing skins
parent 0fafbb87
......@@ -720,13 +720,6 @@ CtrlTree::Iterator CtrlTree::getFirstFromSlider()
Iterator it_first = m_rTree.getItem( index );
if( m_lastClicked == m_rTree.end() )
{
m_lastClicked = it_first;
if( m_lastClicked != m_rTree.end() )
m_lastClicked->setSelected( true );
}
return it_first;
}
......
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