mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Allow ourselves to delete tracks from read-only stations, since they aren't saved
This commit is contained in:
@@ -130,7 +130,7 @@ DynamicModel::newTrackLoading()
|
||||
void
|
||||
DynamicModel::removeIndex(const QModelIndex& index, bool moreToCome)
|
||||
{
|
||||
if ( isReadOnly() )
|
||||
if ( m_playlist->mode() == Static && isReadOnly() )
|
||||
return;
|
||||
|
||||
if( m_playlist->mode() == OnDemand )
|
||||
|
Reference in New Issue
Block a user