Merge pull request #2400

77ff362 SettingsNode: 'auto' special case for Bootstrap Address edit (xiphon)
This commit is contained in:
luigi1111 2019-10-08 15:19:01 -05:00
commit ab020358e7
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -451,7 +451,11 @@ Rectangle{
}
}
onEditingFinished: {
persistentSettings.bootstrapNodeAddress = daemonAddrText ? bootstrapNodeEdit.getAddress() : "";
if (daemonAddrText == "auto") {
persistentSettings.bootstrapNodeAddress = daemonAddrText;
} else {
persistentSettings.bootstrapNodeAddress = daemonAddrText ? bootstrapNodeEdit.getAddress() : "";
}
console.log("setting bootstrap node to " + persistentSettings.bootstrapNodeAddress)
}
}