mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
fix(NavBar) right clicking on Wallet, Community Portal and Settings highlight them
check if there indeed is a popup menu Fixes #10824
This commit is contained in:
parent
00bc25e2ec
commit
a0020761eb
@ -41,7 +41,7 @@ StatusIconTabButton {
|
||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||
onClicked: {
|
||||
if (mouse.button === Qt.RightButton) {
|
||||
if (typeof popupMenuSlot.sourceComponent !== "undefined" && !popupMenuSlot.active)
|
||||
if (!!popupMenuSlot.sourceComponent && !popupMenuSlot.active)
|
||||
popupMenuSlot.active = true
|
||||
if (popupMenuSlot.active) {
|
||||
statusNavBarTabButton.highlighted = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user