1
0

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.
This commit is contained in:
SomberNight
2023-12-19 16:43:59 +00:00
parent be9dc06aaf
commit 3b5b75325e

View File

@@ -9,7 +9,7 @@ WizardComponent {
last: true
function apply() {
wizard_data['autoconnect'] = false
wizard_data['autoconnect'] = sc.address == ""
wizard_data['server'] = sc.address
}