aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2021-04-20 22:11:36 +0000
committerxiphon <xiphon@protonmail.com>2021-04-20 22:15:15 +0000
commit69a6c6b821f475a7d8639d859fb195a103b51aad (patch)
tree37756fb55b0ee73f12c6ed6ffe78153a9818a81e /wizard
parent02ae14fd6bcd705ed838fba627775e4d8d52b5f3 (diff)
downloadmonzero-gui-69a6c6b821f475a7d8639d859fb195a103b51aad.tar.gz
monzero-gui-69a6c6b821f475a7d8639d859fb195a103b51aad.tar.xz
monzero-gui-69a6c6b821f475a7d8639d859fb195a103b51aad.zip
WizardDaemonSettings: implement full remote node configuration support
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardDaemonSettings.qml24
1 files changed, 4 insertions, 20 deletions
diff --git a/wizard/WizardDaemonSettings.qml b/wizard/WizardDaemonSettings.qml
index 98f46709..e4b37d9c 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 {
@@ -196,18 +189,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
}
}