We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 2e005c7 commit 86c4b6aCopy full SHA for 86c4b6a
src/app/qgsvectorlayerproperties.cpp
@@ -1041,7 +1041,7 @@ void QgsVectorLayerProperties::saveStyleAs( StyleType styleType )
1041
bool defaultLoadedFlag = false;
1042
1043
//ensure the user never omitted the extension from the file name
1044
- if ( myOutputFileName.endsWith( extension, Qt::CaseInsensitive ) )
+ if ( !myOutputFileName.endsWith( extension, Qt::CaseInsensitive ) )
1045
{
1046
myOutputFileName += extension;
1047
}
0 commit comments