From 86b88c851f71543e5a15a9910647f57f3d119f01 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 2 Sep 2024 12:34:23 +0200 Subject: [PATCH] Close AccountSwitchDialog when logging in a new connection Otherwise, the dialog is still opened after login has finished --- src/qml/AccountSwitchDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qml/AccountSwitchDialog.qml b/src/qml/AccountSwitchDialog.qml index 33aba46cd..fc99e6d76 100644 --- a/src/qml/AccountSwitchDialog.qml +++ b/src/qml/AccountSwitchDialog.qml @@ -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;