fix deep copy Glyph on LastOpenHistoryResult

This commit is contained in:
Jeremy 2026-01-05 19:37:05 +11:00
parent 11645fdc9a
commit 58d910dc57

View file

@ -85,7 +85,7 @@ public class LastOpenedHistoryResult : Result
// Used for Last Opened History style reopening, currently need to be assigned at MainViewModel.cs
AsyncAction = null,
Glyph = glyphValue != null
? new GlyphInfo(Glyph.FontFamily, Glyph.Glyph)
? new GlyphInfo(glyphValue.FontFamily, glyphValue.Glyph)
: null,
ExecutedDateTime = ExecutedDateTime
// Note: Other properties are left as default — copy if needed.