mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-27 00:07:58 +01:00
Fixes 2199. DirListView filter is case sensitive and it mustn't.
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Terminal.Gui {
|
||||
if (allowedFileTypes == null)
|
||||
return true;
|
||||
foreach (var ft in allowedFileTypes)
|
||||
if (fsi.Name.EndsWith (ft) || ft == ".*")
|
||||
if (fsi.Name.EndsWith (ft, StringComparison.InvariantCultureIgnoreCase) || ft == ".*")
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user