mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
Update SearchWidget.qml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user