1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-28 00:23:44 +01:00

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)
}
}