Skip to content

Commit 248da93

Browse files
committed
fix preview when toggle history mode via Ctrl + H
1 parent e9dcd8b commit 248da93

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Flow.Launcher.Plugin/Result.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public GlyphInfo Glyph
176176
}
177177

178178
/// <summary>
179-
/// Set the Glyph Icon
179+
/// Set the Glyph Icon after initialization
180180
/// </summary>
181181
/// <param name="glyph"></param>
182182
public void SetGlyph(GlyphInfo glyph)

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,8 @@ private void LoadHistory()
363363
else
364364
{
365365
SelectedResults = Results;
366+
PreviewSelectedItem = Results.SelectedItem;
367+
_ = UpdatePreviewAsync();
366368
}
367369
}
368370

0 commit comments

Comments
 (0)