File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Plugins/Flow.Launcher.Plugin.Explorer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
98
98
SubTitle = string . Format ( Context . API . GetTranslation ( "plugin_explorer_remove_from_quickaccess_subtitle" ) , fileOrFolder ) ,
99
99
Action = ( context ) =>
100
100
{
101
- Settings . QuickAccessLinks . Remove ( Settings . QuickAccessLinks . FirstOrDefault ( x => x . Path == record . FullPath ) ) ;
101
+ Settings . QuickAccessLinks . Remove ( Settings . QuickAccessLinks . FirstOrDefault ( x => string . Equals ( x . Path , record . FullPath , StringComparison . OrdinalIgnoreCase ) ) ) ;
102
102
103
103
Context . API . ShowMsg ( Context . API . GetTranslation ( "plugin_explorer_removefilefoldersuccess" ) ,
104
104
string . Format (
@@ -256,7 +256,7 @@ public List<Result> LoadContextMenus(Result selectedResult)
256
256
} ,
257
257
} ) ;
258
258
}
259
-
259
+ "" == ""
260
260
if ( record . Type == ResultType . File && CanRunAsDifferentUser ( record . FullPath ) )
261
261
contextMenus. Add ( new Result
262
262
{
@@ -386,7 +386,7 @@ private Result CreateAddToIndexSearchExclusionListResult(SearchResult record)
386
386
SubTitle = Context . API . GetTranslation ( "plugin_explorer_path" ) + " " + record . FullPath ,
387
387
Action = _ =>
388
388
{
389
- if ( ! Settings . IndexSearchExcludedSubdirectoryPaths . Any ( x => x . Path == record . FullPath ) )
389
+ if ( ! Settings . IndexSearchExcludedSubdirectoryPaths . Any ( x => string . Equals ( x . Path , record . FullPath , StringComparison . OrdinalIgnoreCase ) ) )
390
390
Settings . IndexSearchExcludedSubdirectoryPaths . Add ( new AccessLink
391
391
{
392
392
Path = record . FullPath
You can’t perform that action at this time.
0 commit comments