Update SearchWidget.qml

This commit is contained in:
MrRogueKnight
2025-07-25 01:53:31 +05:30
parent 15703bce04
commit e744816928
@@ -405,7 +405,12 @@ Item { // Wrapper
}
}
onModelChanged: root.focusFirstItemIfNeeded()
onModelChanged: {
root.focusFirstItemIfNeeded();
if (root.searchingText.startsWith(Config.options.search.prefix.clipboard) && appResults.count > 0) {
appResults.positionViewAtIndex(0, ListView.Beginning);
}
}
delegate: SearchItem {
// The selectable item for each search result