Files
purple-electrumwallet/electrum/gui/qml/components/wizard/WCServerConfig.qml
T

29 lines
667 B
QML
Raw Normal View History

2023-07-17 10:49:06 +02:00
import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import "../controls"
WizardComponent {
valid: sc.addressValid
last: true
title: qsTr('Server')
function apply() {
wizard_data['server'] = sc.address
2025-06-02 13:27:28 +02:00
wizard_data['autoconnect'] = sc.serverConnectMode == ServerConnectModeComboBox.Mode.Autoconnect
wizard_data['one_server'] = sc.serverConnectMode == ServerConnectModeComboBox.Mode.Single
}
ColumnLayout {
anchors.fill: parent
spacing: constants.paddingLarge
ServerConfig {
id: sc
Layout.fillWidth: true
Layout.fillHeight: true
}
}
}