1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-12 16:46:53 +01:00

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

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 {