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

SettingsNode: 'auto' special case for Bootstrap Address edit

This commit is contained in:
xiphon 2019-09-27 15:48:04 +00:00
parent d3b81cb6f8
commit 77ff362b58

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