diff --git a/imports/Spectral/Page/Login.qml b/imports/Spectral/Page/Login.qml index b949e86..105557e 100644 --- a/imports/Spectral/Page/Login.qml +++ b/imports/Spectral/Page/Login.qml @@ -24,6 +24,9 @@ LoginForm { loginButton.enabled = false controller.loginWithCredentials(serverField.text, usernameField.text, passwordField.text) - controller.connectionAdded.connect(function() { stackView.pop() }) + controller.connectionAdded.connect(function(conn) { + stackView.pop() + accountListView.currentConnection = conn + }) } }