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:
@@ -9,7 +9,7 @@ WizardComponent {
|
|||||||
last: true
|
last: true
|
||||||
|
|
||||||
function apply() {
|
function apply() {
|
||||||
wizard_data['autoconnect'] = false
|
wizard_data['autoconnect'] = sc.address == ""
|
||||||
wizard_data['server'] = sc.address
|
wizard_data['server'] = sc.address
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user