vlc | branch: master | Erwan Tulou <[email protected]> | Mon Feb 11 23:34:07 2013 +0100| [da5c34b4a5b263490fb5920d72991f47aff31eb6] | committer: Erwan Tulou
skins2: don't default the first visible item to selected This proves ugly when changing skins > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da5c34b4a5b263490fb5920d72991f47aff31eb6 --- modules/gui/skins2/controls/ctrl_tree.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/gui/skins2/controls/ctrl_tree.cpp b/modules/gui/skins2/controls/ctrl_tree.cpp index eed6ea9..dc825ff 100644 --- a/modules/gui/skins2/controls/ctrl_tree.cpp +++ b/modules/gui/skins2/controls/ctrl_tree.cpp @@ -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; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
