From 3b5b75325e9d529cb448d33d90ef2ad80e9bb027 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Tue, 19 Dec 2023 16:43:59 +0000 Subject: [PATCH] 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. --- electrum/gui/qml/components/wizard/WCServerConfig.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/electrum/gui/qml/components/wizard/WCServerConfig.qml b/electrum/gui/qml/components/wizard/WCServerConfig.qml index b2829caae..d22638df2 100644 --- a/electrum/gui/qml/components/wizard/WCServerConfig.qml +++ b/electrum/gui/qml/components/wizard/WCServerConfig.qml @@ -9,7 +9,7 @@ WizardComponent { last: true function apply() { - wizard_data['autoconnect'] = false + wizard_data['autoconnect'] = sc.address == "" wizard_data['server'] = sc.address }