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;