Skip to content
Permalink
Browse files

fix check for extension saving style (follow 88187f1)

  • Loading branch information
brushtyler committed Jun 19, 2012
1 parent 2e005c7 commit 86c4b6ac67333fe5a6acfae27c82478c366dbb19
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsvectorlayerproperties.cpp
@@ -1041,7 +1041,7 @@ void QgsVectorLayerProperties::saveStyleAs( StyleType styleType )
bool defaultLoadedFlag = false;

//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;
}

0 comments on commit 86c4b6a

Please sign in to comment.
You can’t perform that action at this time.