mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +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
|
void
|
||||||
DynamicModel::removeIndex(const QModelIndex& index, bool moreToCome)
|
DynamicModel::removeIndex(const QModelIndex& index, bool moreToCome)
|
||||||
{
|
{
|
||||||
if ( isReadOnly() )
|
if ( m_playlist->mode() == Static && isReadOnly() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( m_playlist->mode() == OnDemand )
|
if( m_playlist->mode() == OnDemand )
|
||||||
|
Reference in New Issue
Block a user