1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-02-26 04:43:06 +01:00

fix deleting in static playlists again

This commit is contained in:
Leo Franchi 2011-02-07 10:13:33 -05:00
parent 0bd5ebdd6f
commit bffec042bd

View File

@ -135,6 +135,8 @@ DynamicModel::removeIndex(const QModelIndex& index, bool moreToCome)
if( m_playlist->mode() == OnDemand )
TrackModel::removeIndex( index );
else
PlaylistModel::removeIndex( index, moreToCome );
// don't call onPlaylistChanged.
if( !moreToCome )