diff options
| author | stoffu <stoffu@protonmail.ch> | 2018-03-06 01:19:45 +0900 |
|---|---|---|
| committer | stoffu <stoffu@protonmail.ch> | 2018-03-14 23:26:25 +0900 |
| commit | c8f0cf354390af1908b3f99e5621eed8c1fab9ed (patch) | |
| tree | 4e60f827c875a1222e93d7eb349b4badfd836b2f /LeftPanel.qml | |
| parent | c5363da1e8ffb2c8f5d9a6fb7fd00485277fc0aa (diff) | |
| download | monzero-gui-c8f0cf354390af1908b3f99e5621eed8c1fab9ed.tar.gz monzero-gui-c8f0cf354390af1908b3f99e5621eed8c1fab9ed.tar.xz monzero-gui-c8f0cf354390af1908b3f99e5621eed8c1fab9ed.zip | |
Stagenet
Diffstat (limited to 'LeftPanel.qml')
| -rw-r--r-- | LeftPanel.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml index c88b34f4..89c17bf5 100644 --- a/LeftPanel.qml +++ b/LeftPanel.qml @@ -29,6 +29,7 @@ import QtQuick 2.2 import QtGraphicalEffects 1.0 import moneroComponents.Wallet 1.0 +import moneroComponents.NetworkType 1.0 import "components" Rectangle { @@ -104,8 +105,8 @@ Rectangle { Text { id: testnetLabel - visible: persistentSettings.testnet - text: qsTr("Testnet") + translationManager.emptyString + visible: persistentSettings.nettype !== NetworkType.MAINNET + text: (persistentSettings.nettype === NetworkType.TESTNET ? qsTr("Testnet") : qsTr("Stagenet")) + translationManager.emptyString anchors.top: logo.bottom anchors.topMargin: 5 anchors.left: viewOnly ? viewOnlyLabel.right : parent.left |
