mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Use case insensitive check for image filename extension (fix #9482)
This commit is contained in:
parent
d4043befcc
commit
a9ac0d70f4
@ -166,7 +166,7 @@ namespace QgisGui
|
||||
#endif
|
||||
|
||||
// Add the file type suffix to the fileName if required
|
||||
if ( !ext.isNull() && !outputFileName.endsWith( "." + ext ) )
|
||||
if ( !ext.isNull() && !outputFileName.toLower().endsWith( "." + ext.toLower() ) )
|
||||
{
|
||||
outputFileName += "." + ext;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user