aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-02-22 11:30:58 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-02-22 11:30:58 -0600
commitc2889c2b8173dda1e4fe50478c8d56ac00f2d255 (patch)
treed7ba6e21f470a56d88fbe9be9ed8a7d068910c59 /LeftPanel.qml
parent333f4aaf83bd64de02b07a56d86bbf90363e403b (diff)
parentc6107d8376244560068184cbfafd38d3b2f536b8 (diff)
downloadmonzero-gui-c2889c2b8173dda1e4fe50478c8d56ac00f2d255.tar.gz
monzero-gui-c2889c2b8173dda1e4fe50478c8d56ac00f2d255.tar.xz
monzero-gui-c2889c2b8173dda1e4fe50478c8d56ac00f2d255.zip
Merge pull request #1909
f329a71 Wizard redesign (xmrdsc) c6107d8 wizard: allow calendar date for restoration height (mmbyday)
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml23
1 files changed, 15 insertions, 8 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index fce19dec..ec4c0cd8 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -435,6 +435,7 @@ Rectangle {
MoneroComponents.MenuButton {
id: merchantButton
+ visible: appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Merchant") + translationManager.emptyString
@@ -449,7 +450,7 @@ Rectangle {
}
Rectangle {
- visible: merchantButton.present
+ visible: merchantButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
@@ -484,6 +485,7 @@ Rectangle {
// ------------- Advanced tab ---------------
MoneroComponents.MenuButton {
id: advancedButton
+ visible: appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Advanced") + translationManager.emptyString
@@ -494,8 +496,9 @@ Rectangle {
parent.previousButton = advancedButton
}
}
+
Rectangle {
- visible: advancedButton.present
+ visible: advancedButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
@@ -506,7 +509,7 @@ Rectangle {
// ------------- Mining tab ---------------
MoneroComponents.MenuButton {
id: miningButton
- visible: !isAndroid && !isIOS
+ visible: !isAndroid && !isIOS && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Mining") + translationManager.emptyString
@@ -521,7 +524,7 @@ Rectangle {
}
Rectangle {
- visible: miningButton.present
+ visible: miningButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
@@ -531,6 +534,7 @@ Rectangle {
// ------------- TxKey tab ---------------
MoneroComponents.MenuButton {
id: txkeyButton
+ visible: appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Prove/check") + translationManager.emptyString
@@ -544,7 +548,7 @@ Rectangle {
}
}
Rectangle {
- visible: txkeyButton.present
+ visible: txkeyButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
@@ -554,6 +558,7 @@ Rectangle {
// ------------- Shared RingDB tab ---------------
MoneroComponents.MenuButton {
id: sharedringdbButton
+ visible: appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Shared RingDB") + translationManager.emptyString
@@ -567,7 +572,7 @@ Rectangle {
}
}
Rectangle {
- visible: sharedringdbButton.present
+ visible: sharedringdbButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
@@ -579,6 +584,7 @@ Rectangle {
// ------------- Sign/verify tab ---------------
MoneroComponents.MenuButton {
id: signButton
+ visible: appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Sign/verify") + translationManager.emptyString
@@ -592,7 +598,7 @@ Rectangle {
}
}
Rectangle {
- visible: signButton.present
+ visible: signButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16
@@ -624,6 +630,7 @@ Rectangle {
// ------------- Sign/verify tab ---------------
MoneroComponents.MenuButton {
id: keysButton
+ visible: appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
text: qsTr("Seed & Keys") + translationManager.emptyString
@@ -637,7 +644,7 @@ Rectangle {
}
}
Rectangle {
- visible: settingsButton.present
+ visible: settingsButton.present && appWindow.walletMode >= 2
anchors.left: parent.left
anchors.right: parent.right
anchors.leftMargin: 16