Automatically select account after login. #63
This commit is contained in:
parent
67cc9a0433
commit
fa3082ca6b
|
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue