diff --git a/src/libtomahawk/playlist/playlistview.cpp b/src/libtomahawk/playlist/playlistview.cpp index ddd19ecc0..a7d01d3f0 100644 --- a/src/libtomahawk/playlist/playlistview.cpp +++ b/src/libtomahawk/playlist/playlistview.cpp @@ -133,7 +133,7 @@ PlaylistView::keyPressEvent( QKeyEvent* event ) if ( !model() ) return; - if ( event->key() == Qt::Key_Delete ) + if ( event->key() == Qt::Key_Delete && !model()->isReadOnly() ) { qDebug() << "Removing selected items"; proxyModel()->removeIndexes( selectedIndexes() );