Files
pallectrum/electrum/gui/qml/components/wizard/WCServerConfig.qml
SomberNight 3b5b75325e qml: WCServerConfig.qml: only disable autoconnect if given server
if the user entered the server select screen and immediately clicked next,
a random server would get set but with auto_connect disabled.
2023-12-19 16:43:59 +00:00

28 lines
522 B
QML

import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import "../controls"
WizardComponent {
valid: true
last: true
function apply() {
wizard_data['autoconnect'] = sc.address == ""
wizard_data['server'] = sc.address
}
ColumnLayout {
anchors.fill: parent
spacing: constants.paddingLarge
ServerConfig {
id: sc
showAutoselectServer: false
Layout.fillWidth: true
Layout.fillHeight: true
}
}
}