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:
parent
1ea70b085f
commit
4f1f2b6fc6
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user