diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2021-04-22 01:57:04 -0400 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2021-04-22 01:57:04 -0400 |
| commit | ca0915109225ff207b3670e0a71676279020f6ad (patch) | |
| tree | dd6651f8cf3614db1ccafabd2e84a673d9f3952f /wizard | |
| parent | 4ddc6b1c9067aa977c6d0e2592995e0719e675d2 (diff) | |
| parent | 69a6c6b821f475a7d8639d859fb195a103b51aad (diff) | |
| download | monzero-gui-ca0915109225ff207b3670e0a71676279020f6ad.tar.gz monzero-gui-ca0915109225ff207b3670e0a71676279020f6ad.tar.xz monzero-gui-ca0915109225ff207b3670e0a71676279020f6ad.zip | |
Merge pull request #3422
69a6c6b WizardDaemonSettings: implement full remote node configuration support (xiphon)
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/WizardDaemonSettings.qml | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml index 8792cb9c..1693bf7b 100644 --- a/wizard/WizardDaemonSettings.qml +++ b/wizard/WizardDaemonSettings.qml @@ -41,14 +41,7 @@ ColumnLayout { spacing: 10 function save(){ - persistentSettings.useRemoteNode = remoteNode.checked - const index = remoteNodesModel.appendIfNotExists({ - address: remoteNodeEdit.getAddress(), - username: "", - password: "", - trusted: false, - }); - remoteNodesModel.applyRemoteNode(index); + persistentSettings.useRemoteNode = remoteNode.checked; if (bootstrapNodeEdit.daemonAddrText == "auto") { persistentSettings.bootstrapNodeAddress = "auto"; } else { @@ -205,18 +198,9 @@ ColumnLayout { } } - ColumnLayout { - visible: remoteNode.checked - spacing: 0 - - Layout.topMargin: 8 + MoneroComponents.RemoteNodeList { Layout.fillWidth: true - - MoneroComponents.RemoteNodeEdit { - id: remoteNodeEdit - Layout.fillWidth: true - - initialAddress: remoteNodesModel.currentRemoteNode().address - } + Layout.topMargin: 8 + visible: remoteNode.checked } } |
