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…
Reference in New Issue