Reset lastHistoryIndex when opening result

This commit is contained in:
VictoriousRaptor 2024-05-19 23:17:57 +08:00
parent 7924dcca0d
commit 9ac92e2939

View file

@ -379,7 +379,7 @@ namespace Flow.Launcher.ViewModel
{
_userSelectedRecord.Add(result);
_history.Add(result.OriginQuery.RawQuery);
lastHistoryIndex = 1;
}
if (hideWindow)