mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-02 02:12:47 +02:00
* Emit trackCountChanged() after removing tracks from the TrackModel.
This commit is contained in:
@@ -284,6 +284,8 @@ TrackModel::removeIndex( const QModelIndex& index )
|
|||||||
delete item;
|
delete item;
|
||||||
emit endRemoveRows();
|
emit endRemoveRows();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
emit trackCountChanged( rowCount( QModelIndex() ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user