diff --git a/src/StatusQ/Popups/StatusSearchPopup.qml b/src/StatusQ/Popups/StatusSearchPopup.qml index 7ad64279..71cf25d0 100644 --- a/src/StatusQ/Popups/StatusSearchPopup.qml +++ b/src/StatusQ/Popups/StatusSearchPopup.qml @@ -51,10 +51,19 @@ StatusModal { setSearchSelection(defaultSearchLocationText, "", "", false, "", "transparent") } + function forceActiveFocus() { + contentItem.searchInput.forceActiveFocus() + } + + onOpened: { + forceActiveFocus(); + } + contentItem: Item { width: parent.width height: root.height property alias searchText: inputText.text + property alias searchInput: inputText ColumnLayout { id: contentItemColumn