From 323aa842791fe4f424e9a7d1cfd296fa612ba7ad Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Thu, 20 Apr 2023 10:37:49 +0200 Subject: [PATCH] qml: only allow wallet menu if on wallet specific page --- electrum/gui/qml/components/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/electrum/gui/qml/components/main.qml b/electrum/gui/qml/components/main.qml index 09c63b7bf..c1695ce5b 100644 --- a/electrum/gui/qml/components/main.qml +++ b/electrum/gui/qml/components/main.qml @@ -122,6 +122,7 @@ ApplicationWindow MouseArea { anchors.fill: parent + enabled: Daemon.currentWallet && (!stack.currentItem.title || stack.currentItem.title == Daemon.currentWallet.name) onClicked: { stack.getRoot().menu.open() // open wallet-menu stack.getRoot().menu.y = toolbar.height