Skip to content
Permalink
Browse files

Merge pull request #2400

77ff362 SettingsNode: 'auto' special case for Bootstrap Address edit (xiphon)
  • Loading branch information...
luigi1111 committed Oct 8, 2019
2 parents 135cfba + 77ff362 commit ab020358e7725e548a66efbb4c9cf1d2936f47ee
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 ab02035

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