From 120b5285fb49fce09a0357f2ce43e974b0c5d9f9 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sun, 26 Apr 2020 01:14:29 +0000 Subject: [PATCH] WizardDaemonSettings: bootstrap node address "auto" special case --- wizard/WizardDaemonSettings.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 {