mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-11 05:14:34 +00:00
SettingsNode: 'auto' special case for Bootstrap Address edit
This commit is contained in:
parent
d3b81cb6f8
commit
77ff362b58
1 changed files with 5 additions and 1 deletions
|
@ -451,7 +451,11 @@ Rectangle{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onEditingFinished: {
|
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)
|
console.log("setting bootstrap node to " + persistentSettings.bootstrapNodeAddress)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue