aboutsummaryrefslogtreecommitdiff
path: root/LeftPanel.qml
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-27 20:41:15 +0200
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commit0bfff8844e113d36a538d2bb0109541a3edc95e6 (patch)
tree3388abf017c7c67739d35d1fc146a5ac71e1353d /LeftPanel.qml
parent3c2404473672991b51cbe6ec6d2d9326e9f85ca8 (diff)
downloadmonzero-gui-0bfff8844e113d36a538d2bb0109541a3edc95e6.tar.gz
monzero-gui-0bfff8844e113d36a538d2bb0109541a3edc95e6.tar.xz
monzero-gui-0bfff8844e113d36a538d2bb0109541a3edc95e6.zip
nettype comparison needs to be loose
Diffstat (limited to 'LeftPanel.qml')
-rw-r--r--LeftPanel.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index acefa60f..b9577591 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -99,7 +99,6 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
- // @TODO: customDecorations?
anchors.topMargin: (persistentSettings.customDecorations)? 50 : 0
RowLayout {
@@ -121,8 +120,8 @@ Rectangle {
Text {
id: testnetLabel
- visible: persistentSettings.nettype
- text: qsTr("Testnet") + translationManager.emptyString
+ visible: persistentSettings.nettype != NetworkType.MAINNET
+ text: (persistentSettings.nettype == NetworkType.TESTNET ? qsTr("Testnet") : qsTr("Stagenet")) + translationManager.emptyString
anchors.top: parent.top
anchors.topMargin: 8
anchors.left: parent.left