Folder Results open the explorer window when selected.

This commit is contained in:
ryanbodrug-microsoft 2020-04-25 10:16:22 -07:00
parent 2b04d7a92d
commit 9f609ac80f

View File

@ -96,7 +96,12 @@ namespace Wox.Plugin.Folder
SubTitle = subtitle, SubTitle = subtitle,
QueryTextDisplay = path, QueryTextDisplay = path,
TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData, TitleHighlightData = StringMatcher.FuzzySearch(query.Search, title).MatchData,
ContextData = new SearchResult { Type = ResultType.Folder, FullPath = path } ContextData = new SearchResult { Type = ResultType.Folder, FullPath = path },
Action = c =>
{
Process.Start(_fileExplorerProgramName, path);
return true;
}
}; };
} }