fix(launcher): select first file search result by default fixes #1967

This commit is contained in:
bbedward committed 2026-03-11 12:47:39 -04:00
1 parent fc7b61c20b
commit 02a274ebe2
1 file changed
+1 -3
@@ -875,9 +875,7 @@ Item {
_applyHighlights(newSections, searchQuery);
flatModel = Scorer.flattenSections(newSections);
sections = newSections;
if (selectedFlatIndex >= flatModel.length) {
selectedFlatIndex = getFirstItemIndex();
}
selectedFlatIndex = getFirstItemIndex();
updateSelectedItem();
});
}