From 101e5e6ff1de10c934c19c5e2cb938db5717ba52 Mon Sep 17 00:00:00 2001 From: Jeremy Date: Sun, 4 Jan 2026 16:39:33 +1100 Subject: [PATCH] fix Glyph optional null when copying --- Flow.Launcher/Storage/LastOpenedHistoryResult.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Flow.Launcher/Storage/LastOpenedHistoryResult.cs b/Flow.Launcher/Storage/LastOpenedHistoryResult.cs index 4a4257048..51fba5849 100644 --- a/Flow.Launcher/Storage/LastOpenedHistoryResult.cs +++ b/Flow.Launcher/Storage/LastOpenedHistoryResult.cs @@ -88,7 +88,9 @@ public class LastOpenedHistoryResult : Result }, //Used for Last Opened History style reopening, currently need to be assigned at MainViewModel.cs AsyncAction = null, - Glyph = new GlyphInfo(this.Glyph.FontFamily, this.Glyph.Glyph), + Glyph = glyphValue != null + ? new GlyphInfo(this.Glyph.FontFamily, this.Glyph.Glyph) + : null, ExecutedDateTime = this.ExecutedDateTime // Note: Other properties are left as default — copy if needed. };