aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2019-11-01 01:52:15 +0000
committerxiphon <xiphon@protonmail.com>2019-11-01 12:19:25 +0000
commit5df14abed26f415984bdfe306e4a073d289665d2 (patch)
treeb43cd69b0e7b7622de7ed06e7a0f042bf28aaf43
parentcdad85c0ef5ca85b05808c329a92694f88b8c416 (diff)
downloadmonzero-gui-5df14abed26f415984bdfe306e4a073d289665d2.tar.gz
monzero-gui-5df14abed26f415984bdfe306e4a073d289665d2.tar.xz
monzero-gui-5df14abed26f415984bdfe306e4a073d289665d2.zip
Merchant: fix leaving the page
-rw-r--r--main.qml3
-rw-r--r--pages/merchant/Merchant.qml4
2 files changed, 1 insertions, 6 deletions
diff --git a/main.qml b/main.qml
index cf6ec446..d682d8a9 100644
--- a/main.qml
+++ b/main.qml
@@ -1569,14 +1569,12 @@ ApplicationWindow {
states: [
State {
name: "wizard"
- PropertyChanges { target: leftPanel; visible: false }
PropertyChanges { target: middlePanel; visible: false }
PropertyChanges { target: wizard; visible: true }
PropertyChanges { target: resizeArea; visible: true }
PropertyChanges { target: titleBar; state: "essentials" }
}, State {
name: "normal"
- PropertyChanges { target: leftPanel; visible: true }
PropertyChanges { target: middlePanel; visible: true }
PropertyChanges { target: wizard; visible: false }
PropertyChanges { target: resizeArea; visible: true }
@@ -1589,6 +1587,7 @@ ApplicationWindow {
anchors.top: parent.top
anchors.left: parent.left
anchors.bottom: parent.bottom
+ visible: rootItem.state == "normal" && middlePanel.state != "Merchant"
onTransferClicked: {
middlePanel.state = "Transfer";
diff --git a/pages/merchant/Merchant.qml b/pages/merchant/Merchant.qml
index 2ddc5255..93b78148 100644
--- a/pages/merchant/Merchant.qml
+++ b/pages/merchant/Merchant.qml
@@ -33,8 +33,6 @@ Item {
property var hiddenAmounts: []
function onPageCompleted() {
- appWindow.hideMenu();
-
// prepare tracking
trackingCheckbox.checked = root.enableTracking
root.update();
@@ -56,8 +54,6 @@ Item {
timer.running = false
root.enableTracking = false
trackingModel.clear()
-
- appWindow.showMenu();
}
Image {