fix preview when toggle history mode via Ctrl + H

This commit is contained in:
Jeremy 2026-01-26 16:57:47 +11:00
parent e9dcd8b7ba
commit 248da93d05
2 changed files with 3 additions and 1 deletions

View file

@ -176,7 +176,7 @@ namespace Flow.Launcher.Plugin
} }
/// <summary> /// <summary>
/// Set the Glyph Icon /// Set the Glyph Icon after initialization
/// </summary> /// </summary>
/// <param name="glyph"></param> /// <param name="glyph"></param>
public void SetGlyph(GlyphInfo glyph) public void SetGlyph(GlyphInfo glyph)

View file

@ -363,6 +363,8 @@ namespace Flow.Launcher.ViewModel
else else
{ {
SelectedResults = Results; SelectedResults = Results;
PreviewSelectedItem = Results.SelectedItem;
_ = UpdatePreviewAsync();
} }
} }