diff options
| author | Sander Ferdinand <sa.ferdinand@gmail.com> | 2018-03-27 20:41:15 +0200 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-29 23:04:04 +0100 |
| commit | 0bfff8844e113d36a538d2bb0109541a3edc95e6 (patch) | |
| tree | 3388abf017c7c67739d35d1fc146a5ac71e1353d /LeftPanel.qml | |
| parent | 3c2404473672991b51cbe6ec6d2d9326e9f85ca8 (diff) | |
| download | monzero-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.qml | 5 |
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 |
