mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-05 04:39:08 +08:00
Folder Results open the explorer window when selected.
This commit is contained in:
parent
2b04d7a92d
commit
9f609ac80f
@ -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;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user