mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-01 03:40:16 +02:00
* Don't forget to update the current index.
This commit is contained in:
@@ -285,6 +285,7 @@ TrackView::onCurrentIndexChanged( const QModelIndex& newIndex, const QModelIndex
|
|||||||
{
|
{
|
||||||
selectionModel()->select( newIndex, QItemSelectionModel::SelectCurrent );
|
selectionModel()->select( newIndex, QItemSelectionModel::SelectCurrent );
|
||||||
currentChanged( newIndex, oldIndex );
|
currentChanged( newIndex, oldIndex );
|
||||||
|
setCurrentIndex( newIndex );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user