GUI: Ignore file extension case
The file browser was appending an extra extension if the case didn't match.
This commit is contained in:
parent
c00e1199ad
commit
26d50d67f3
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue