1
0
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:
Christian Muehlhaeuser
2014-09-24 06:02:04 +02:00
parent ad5ccc8f4b
commit 2c51c936e9

View File

@@ -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 );
} }
} }