Commit 82eed9eb authored by Konstantin Pavlov's avatar Konstantin Pavlov

QT4: Jump to current item on itemchange. Patch by Ilkka Ollakka.

parent 2293854f
......@@ -144,6 +144,7 @@ void StandardPLPanel::toggleRandom()
void StandardPLPanel::handleExpansion( const QModelIndex &index )
{
QModelIndex parent;
view->scrollTo( index, QAbstractItemView::EnsureVisible );
if( model->isCurrent( index ) )
{
parent = index;
......
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