Skip to content

Commit 9ac92e2

Browse files
Reset lastHistoryIndex when opening result
1 parent 7924dcc commit 9ac92e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ private async Task OpenResultAsync(string index)
379379
{
380380
_userSelectedRecord.Add(result);
381381
_history.Add(result.OriginQuery.RawQuery);
382-
382+
lastHistoryIndex = 1;
383383
}
384384

385385
if (hideWindow)

0 commit comments

Comments
 (0)