Skip to content

Commit 58a47aa

Browse files
authored
Merge pull request #3712 from Flow-Launcher/fix_folder_preview
Add preview information back for external preview
2 parents bb76e4e + b166b18 commit 58a47aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/ResultManager.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ internal static Result CreateFolderResult(string title, string subtitle, string
101101
AutoCompleteText = GetAutoCompleteText(title, query, path, ResultType.Folder),
102102
TitleHighlightData = Context.API.FuzzySearch(query.Search, title).MatchData,
103103
CopyText = path,
104+
Preview = new Result.PreviewInfo
105+
{
106+
FilePath = path,
107+
},
104108
PreviewPanel = new Lazy<UserControl>(() => new PreviewPanel(Settings, path, ResultType.Folder)),
105109
Action = c =>
106110
{

0 commit comments

Comments
 (0)