Merge pull request #2863

120b528 WizardDaemonSettings: bootstrap node address 'auto' special case (xiphon)
This commit is contained in:
luigi1111 2020-04-28 15:21:19 -05:00
commit c1da3d1c97
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

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 {