Skip to content

Commit e34bcbd

Browse files
committed
add prompt press ctrl to open folder directly to folder results
1 parent b90664d commit e34bcbd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/DirectoryInfo/DirectoryInfoSearch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private List<Result> DirectorySearch(SearchOption searchOption, Query query, str
6666

6767
if (fileSystemInfo is System.IO.DirectoryInfo)
6868
{
69-
folderList.Add(ResultManager.CreateFolderResult(fileSystemInfo.Name, fileSystemInfo.FullName, fileSystemInfo.FullName, query, true, false));
69+
folderList.Add(ResultManager.CreateFolderResult(fileSystemInfo.Name, Constants.DefaultFolderSubtitleString, fileSystemInfo.FullName, query, true, false));
7070
}
7171
else
7272
{

Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/IndexSearch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ internal List<Result> ExecuteWindowsIndexSearch(string indexQueryString, string
7171
private Result CreateResult(string filename, string path, string fileType, Query query)
7272
{
7373
if (fileType == "Directory")
74-
return ResultManager.CreateFolderResult(filename, path, path, query, true, true);
74+
return ResultManager.CreateFolderResult(filename, Constants.DefaultFolderSubtitleString, path, query, true, true);
7575
else
7676
{
7777
return ResultManager.CreateFileResult(path, query, true, true);

0 commit comments

Comments
 (0)