Close AccountSwitchDialog when logging in a new connection
Otherwise, the dialog is still opened after login has finished
This commit is contained in:
@@ -66,7 +66,7 @@ Kirigami.Dialog {
|
||||
if (switchUserButton.checked) {
|
||||
switchUserButton.checked = false;
|
||||
}
|
||||
accountView.currentIndex = Controller.activeConnectionIndex;
|
||||
root.close();
|
||||
}
|
||||
Keys.onUpPressed: {
|
||||
accountView.currentIndex = accountView.count - 1;
|
||||
|
||||
Reference in New Issue
Block a user