GUI: Ignore file extension case

The file browser was appending an extra extension if the case didn't
match.
This commit is contained in:
djsrv 2020-06-12 13:39:47 -04:00
parent c00e1199ad
commit 26d50d67f3

View file

@ -109,7 +109,7 @@ void FileBrowserDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32
void FileBrowserDialog::normalieFileName() {
Common::String filename = _fileName->getEditString();
if (filename.matchString(_fileMask))
if (filename.matchString(_fileMask, true))
return;
_fileName->setEditString(filename + "." + _fileExt);