1
0

qml: only allow wallet menu if on wallet specific page

This commit is contained in:
Sander van Grieken
2023-04-20 10:37:49 +02:00
parent 1649f9993e
commit 323aa84279

View File

@@ -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