aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2018-03-27 02:03:59 +0200
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-29 23:04:04 +0100
commit3c2404473672991b51cbe6ec6d2d9326e9f85ca8 (patch)
treec8c97c8835195bf77be93da24f84f5c3b3e7ce2d /wizard
parent3d4eb7a5f5f63e52592faeff77cb76838a5add5e (diff)
downloadmonzero-gui-3c2404473672991b51cbe6ec6d2d9326e9f85ca8.tar.gz
monzero-gui-3c2404473672991b51cbe6ec6d2d9326e9f85ca8.tar.xz
monzero-gui-3c2404473672991b51cbe6ec6d2d9326e9f85ca8.zip
Cleanup after rebase
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardOptions.qml22
1 files changed, 21 insertions, 1 deletions
diff --git a/wizard/WizardOptions.qml b/wizard/WizardOptions.qml
index fb6d83f3..7a9ffa62 100644
--- a/wizard/WizardOptions.qml
+++ b/wizard/WizardOptions.qml
@@ -245,11 +245,31 @@ ColumnLayout {
CheckBox {
id: testNet
text: qsTr("Testnet") + translationManager.emptyString
+ background: "#FFFFFF"
+ fontColor: "#4A4646"
+ fontSize: 16 * scaleRatio
checkedIcon: "../images/checkedVioletIcon.png"
+ uncheckedIcon: "../images/uncheckedIcon.png"
+ checked: appWindow.persistentSettings.nettype === NetworkType.TESTNET;
+ onClicked: {
+ persistentSettings.nettype = testNet.checked ? NetworkType.TESTNET : NetworkType.MAINNET
+ stageNet.checked = false;
+ console.log("Network type set to ", persistentSettings.nettype === NetworkType.TESTNET ? "Testnet" : "Mainnet")
+ }
+ }
+ }
+
+ Rectangle {
+ width: 100 * scaleRatio
+ CheckBox {
+ id: stageNet
+ text: qsTr("Stagenet") + translationManager.emptyString
background: "#FFFFFF"
fontColor: "#4A4646"
fontSize: 16 * scaleRatio
- checked: appWindow.persistentSettings.testnet;
+ checkedIcon: "../images/checkedVioletIcon.png"
+ uncheckedIcon: "../images/uncheckedIcon.png"
+ checked: appWindow.persistentSettings.nettype === NetworkType.STAGENET;
onClicked: {
persistentSettings.nettype = stageNet.checked ? NetworkType.STAGENET : NetworkType.MAINNET
testNet.checked = false;