aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2020-04-28 15:21:19 -0500
committerluigi1111 <luigi1111w@gmail.com>2020-04-28 15:21:19 -0500
commitc1da3d1c97cda2212961985d9213b30aeea05cbf (patch)
treec3d98b78f479c2adc29344df8c2ab290eb120b91 /wizard
parentcbd03229ddad04279dc9711e431d6da94e4b7e63 (diff)
parent120b5285fb49fce09a0357f2ce43e974b0c5d9f9 (diff)
downloadmonzero-gui-c1da3d1c97cda2212961985d9213b30aeea05cbf.tar.gz
monzero-gui-c1da3d1c97cda2212961985d9213b30aeea05cbf.tar.xz
monzero-gui-c1da3d1c97cda2212961985d9213b30aeea05cbf.zip
Merge pull request #2863
120b528 WizardDaemonSettings: bootstrap node address 'auto' special case (xiphon)
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardDaemonSettings.qml6
1 files changed, 5 insertions, 1 deletions
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml
index 9ab9fefc..1a5ebd72 100644
--- a/wizard/WizardDaemonSettings.qml
+++ b/wizard/WizardDaemonSettings.qml
@@ -43,7 +43,11 @@ ColumnLayout {
function save(){
persistentSettings.useRemoteNode = remoteNode.checked
persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress();
- persistentSettings.bootstrapNodeAddress = bootstrapNodeEdit.daemonAddrText ? bootstrapNodeEdit.getAddress() : "";
+ if (bootstrapNodeEdit.daemonAddrText == "auto") {
+ persistentSettings.bootstrapNodeAddress = "auto";
+ } else {
+ persistentSettings.bootstrapNodeAddress = bootstrapNodeEdit.getAddress();
+ }
}
MoneroComponents.RadioButton {