diff options
Diffstat (limited to 'wizard/WizardDaemonSettings.qml')
| -rw-r--r-- | wizard/WizardDaemonSettings.qml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml index 3f1f2204..bd54f7e1 100644 --- a/wizard/WizardDaemonSettings.qml +++ b/wizard/WizardDaemonSettings.qml @@ -42,7 +42,13 @@ ColumnLayout { function save(){ persistentSettings.useRemoteNode = remoteNode.checked - persistentSettings.remoteNodeAddress = remoteNodeEdit.getAddress(); + const index = remoteNodesModel.appendIfNotExists({ + address: remoteNodeEdit.getAddress(), + username: "", + password: "", + trusted: false, + }); + remoteNodesModel.applyRemoteNode(index); if (bootstrapNodeEdit.daemonAddrText == "auto") { persistentSettings.bootstrapNodeAddress = "auto"; } else { @@ -179,7 +185,7 @@ ColumnLayout { id: remoteNodeEdit Layout.fillWidth: true - initialAddress: persistentSettings.remoteNodeAddress + initialAddress: remoteNodesModel.currentRemoteNode().address } } } |
