diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2018-03-26 12:57:14 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2018-03-26 12:57:14 -0500 |
| commit | e4d75c6680bb3ed7bccdf00e8e319b25b6a7be21 (patch) | |
| tree | 593b10a28ca322ae36d582df236663f7e2a3f681 /LeftPanel.qml | |
| parent | 278458bb646cbb0d4361106cff424807812e5bda (diff) | |
| parent | c8f0cf354390af1908b3f99e5621eed8c1fab9ed (diff) | |
| download | monzero-gui-e4d75c6680bb3ed7bccdf00e8e319b25b6a7be21.tar.gz monzero-gui-e4d75c6680bb3ed7bccdf00e8e319b25b6a7be21.tar.xz monzero-gui-e4d75c6680bb3ed7bccdf00e8e319b25b6a7be21.zip | |
Merge pull request #1161
c8f0cf3 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 3d7a4945..4b14ca76 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 { @@ -105,8 +106,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 |
