Skip to content

Commit b166b18

Browse files
committed
Add preview information back for external preview
1 parent 34f2b7d commit b166b18

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)