WizardDaemonSettings: bootstrap node address "auto" special case

This commit is contained in:
xiphon 2020-04-26 01:14:29 +00:00
parent 585fb2810d
commit 120b5285fb

View file

@ -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 {