Skip to content
Permalink
Browse files

SettingsNode: 'auto' special case for Bootstrap Address edit

  • Loading branch information...
xiphon committed Sep 27, 2019
1 parent d3b81cb commit 77ff362b58df203bd24b45a2f61cc303af4b819b
Showing with 5 additions and 1 deletion.
  1. +5 −1 pages/settings/SettingsNode.qml
@@ -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)
}
}

0 comments on commit 77ff362

Please sign in to comment.
You can’t perform that action at this time.