diff --git a/src/docks/playlistdock.cpp b/src/docks/playlistdock.cpp index 35778b5a13..89578bc401 100644 --- a/src/docks/playlistdock.cpp +++ b/src/docks/playlistdock.cpp @@ -1073,6 +1073,9 @@ void PlaylistDock::onPlaylistCreated() void PlaylistDock::onPlaylistLoaded() { onPlaylistCreated(); + bool nonEmptyModel = m_model.rowCount() > 0; + Actions["playlistRemoveAllAction"]->setEnabled(nonEmptyModel); + Actions["playlistSelectAllAction"]->setEnabled(nonEmptyModel); } void PlaylistDock::onPlaylistModified()