Update the result when executing history item

This commit is contained in:
Jack251970 2026-01-06 15:45:49 +08:00
parent e404d02965
commit 26e4529f27

View file

@ -101,6 +101,7 @@ namespace Flow.Launcher.Storage
if (LastOpenedHistoryItems.Count > 0 &&
TryGetLastOpenedHistoryResult(result, out var existingHistoryItem))
{
existingHistoryItem.ExecutedDateTime = DateTime.Now;
if (existingHistoryItem.IcoPath != result.IcoPath)
{
existingHistoryItem.IcoPath = result.IcoPath;