From 9f01206c5798b1445d3ae9f5ff5088c0283404ce Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 6 Aug 2020 18:36:52 +0200 Subject: [PATCH] Only show open in file browser when songs are selected --- src/core/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/mainwindow.cpp b/src/core/mainwindow.cpp index bafbe45d8..dc6f2ee9b 100644 --- a/src/core/mainwindow.cpp +++ b/src/core/mainwindow.cpp @@ -1691,7 +1691,7 @@ void MainWindow::PlaylistRightClick(const QPoint &global_pos, const QModelIndex // the rest of the read / write actions work only when there are no CUEs involved if (cue_selected) editable = 0; - playlist_open_in_browser_->setVisible(local_songs == selected); + playlist_open_in_browser_->setVisible(selected > 0 && local_songs == selected); bool track_column = (index.column() == Playlist::Column_Track); ui_->action_renumber_tracks->setVisible(editable >= 2 && track_column);