mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-05 10:29:30 +00:00
WizardDaemonSettings: bootstrap node address "auto" special case
This commit is contained in:
parent
585fb2810d
commit
120b5285fb
1 changed files with 5 additions and 1 deletions
|
@ -43,7 +43,11 @@ ColumnLayout {
|
||||||
function save(){
|
function save(){
|
||||||
persistentSettings.useRemoteNode = remoteNode.checked
|
persistentSettings.useRemoteNode = remoteNode.checked
|
||||||
persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress();
|
persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress();
|
||||||
persistentSettings.bootstrapNodeAddress = bootstrapNodeEdit.daemonAddrText ? bootstrapNodeEdit.getAddress() : "";
|
if (bootstrapNodeEdit.daemonAddrText == "auto") {
|
||||||
|
persistentSettings.bootstrapNodeAddress = "auto";
|
||||||
|
} else {
|
||||||
|
persistentSettings.bootstrapNodeAddress = bootstrapNodeEdit.getAddress();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MoneroComponents.RadioButton {
|
MoneroComponents.RadioButton {
|
||||||
|
|
Loading…
Reference in a new issue