From 9f609ac80f61df84f52251090ac13d5e943f8b92 Mon Sep 17 00:00:00 2001 From: ryanbodrug-microsoft <56318517+ryanbodrug-microsoft@users.noreply.github.com> Date: Sat, 25 Apr 2020 10:16:22 -0700 Subject: [PATCH] Folder Results open the explorer window when selected. --- src/modules/launcher/Plugins/Wox.Plugin.Folder/Main.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/modules/launcher/Plugins/Wox.Plugin.Folder/Main.cs b/src/modules/launcher/Plugins/Wox.Plugin.Folder/Main.cs index b53db2aa41..8e3ff2dcf8 100644 --- a/src/modules/launcher/Plugins/Wox.Plugin.Folder/Main.cs +++ b/src/modules/launcher/Plugins/Wox.Plugin.Folder/Main.cs @@ -96,7 +96,12 @@ namespace Wox.Plugin.Folder SubTitle = subtitle, QueryTextDisplay = path, 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; + } }; }