mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-22 19:49:34 +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(){
|
||||
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 {
|
||||
|
|
Loading…
Reference in a new issue