mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-31 17:42:13 +02:00
fix deleting in static playlists again
This commit is contained in:
@@ -135,6 +135,8 @@ DynamicModel::removeIndex(const QModelIndex& index, bool moreToCome)
|
|||||||
|
|
||||||
if( m_playlist->mode() == OnDemand )
|
if( m_playlist->mode() == OnDemand )
|
||||||
TrackModel::removeIndex( index );
|
TrackModel::removeIndex( index );
|
||||||
|
else
|
||||||
|
PlaylistModel::removeIndex( index, moreToCome );
|
||||||
// don't call onPlaylistChanged.
|
// don't call onPlaylistChanged.
|
||||||
|
|
||||||
if( !moreToCome )
|
if( !moreToCome )
|
||||||
|
Reference in New Issue
Block a user