fix history result highlight and scroll when history mode activated

This commit is contained in:
Jeremy 2026-01-01 18:23:12 +11:00
parent 20854ba5d7
commit 7c670de7c2

View file

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
@ -355,7 +355,9 @@ namespace Flow.Launcher.ViewModel
if (QueryResultsSelected())
{
SelectedResults = History;
History.SelectedIndex = _history.LastOpenedHistoryItems.Count - 1;
SelectedResults.SelectedIndex = 0;
SelectedResults.SelectedItem = SelectedResults.Results[0];
}
else
{