GUI: extensions no longer case-sensitive

fixes #154
This commit is contained in:
tildearrow 2022-02-08 23:13:54 -05:00
parent 70a993aacb
commit fa5a732b68
2 changed files with 9 additions and 1 deletions

View file

@ -1475,6 +1475,10 @@ namespace IGFD
infos->fileExt = infos->fileNameExt.substr(lpt);
}
for (char& i: infos->fileExt) {
if (i>='A' && i<='Z') i+='a'-'A';
}
if (!vFileDialogInternal.puFilterManager.IsCoveredByFilters(infos->fileExt))
{
return;