diff --git a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs index ffefd5953b..9588ca2d46 100644 --- a/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs +++ b/src/modules/launcher/Plugins/Microsoft.Plugin.Indexer/Main.cs @@ -86,6 +86,13 @@ namespace Microsoft.Plugin.Indexer return hide; }; r.ContextData = searchResult; + + //If the result is a directory, then it's display should show a directory. + if(Directory.Exists(path)) + { + r.QueryTextDisplay = path; + } + results.Add(r); } }