ContextView: Change condition for showing context menu

This commit is contained in:
Jonas Kvinge 2022-06-05 18:19:14 +02:00
parent 1ea70b085f
commit 4f1f2b6fc6
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ void ContextView::UpdateLyrics(const quint64 id, const QString &provider, const
void ContextView::contextMenuEvent(QContextMenuEvent *e) { void ContextView::contextMenuEvent(QContextMenuEvent *e) {
if (menu_options_ && !song_playing_.is_valid()) { if (menu_options_ && widget_stacked_->currentWidget() == widget_stop_) {
menu_options_->popup(mapToGlobal(e->pos())); menu_options_->popup(mapToGlobal(e->pos()));
} }
else { else {