From bf1c76d0a63d295304c888b76c1c02962b9d9501 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Sat, 6 Apr 2024 15:40:03 -0400 Subject: [PATCH] Force the choose room dialog's search dialog to be focused This makes it possible to open the share dialog and start typing to find the room immediately. --- src/qml/ChooseRoomDialog.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qml/ChooseRoomDialog.qml b/src/qml/ChooseRoomDialog.qml index d71464b70..9f2be0816 100644 --- a/src/qml/ChooseRoomDialog.qml +++ b/src/qml/ChooseRoomDialog.qml @@ -31,4 +31,6 @@ Kirigami.ScrollablePage { connection: root.connection } } + + Component.onCompleted: Qt.callLater(() => header.forceActiveFocus()) }