mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Add preview information back for external preview
This commit is contained in:
parent
34f2b7d7f7
commit
b166b18ab7
1 changed files with 4 additions and 0 deletions
|
|
@ -101,6 +101,10 @@ namespace Flow.Launcher.Plugin.Explorer.Search
|
||||||
AutoCompleteText = GetAutoCompleteText(title, query, path, ResultType.Folder),
|
AutoCompleteText = GetAutoCompleteText(title, query, path, ResultType.Folder),
|
||||||
TitleHighlightData = Context.API.FuzzySearch(query.Search, title).MatchData,
|
TitleHighlightData = Context.API.FuzzySearch(query.Search, title).MatchData,
|
||||||
CopyText = path,
|
CopyText = path,
|
||||||
|
Preview = new Result.PreviewInfo
|
||||||
|
{
|
||||||
|
FilePath = path,
|
||||||
|
},
|
||||||
PreviewPanel = new Lazy<UserControl>(() => new PreviewPanel(Settings, path, ResultType.Folder)),
|
PreviewPanel = new Lazy<UserControl>(() => new PreviewPanel(Settings, path, ResultType.Folder)),
|
||||||
Action = c =>
|
Action = c =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue