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:
parent
d3b81cb6f8
commit
77ff362b58
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user