mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fix check for extension saving style (follow 88187f1e4c)
This commit is contained in:
parent
2e005c73c4
commit
86c4b6ac67
@ -1041,7 +1041,7 @@ void QgsVectorLayerProperties::saveStyleAs( StyleType styleType )
|
|||||||
bool defaultLoadedFlag = false;
|
bool defaultLoadedFlag = false;
|
||||||
|
|
||||||
//ensure the user never omitted the extension from the file name
|
//ensure the user never omitted the extension from the file name
|
||||||
if ( myOutputFileName.endsWith( extension, Qt::CaseInsensitive ) )
|
if ( !myOutputFileName.endsWith( extension, Qt::CaseInsensitive ) )
|
||||||
{
|
{
|
||||||
myOutputFileName += extension;
|
myOutputFileName += extension;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user