Skip to content

Commit 86c4b6a

Browse files
committedJun 19, 2012
fix check for extension saving style (follow 88187f1)
1 parent 2e005c7 commit 86c4b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgsvectorlayerproperties.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ void QgsVectorLayerProperties::saveStyleAs( StyleType styleType )
10411041
bool defaultLoadedFlag = false;
10421042

10431043
//ensure the user never omitted the extension from the file name
1044-
if ( myOutputFileName.endsWith( extension, Qt::CaseInsensitive ) )
1044+
if ( !myOutputFileName.endsWith( extension, Qt::CaseInsensitive ) )
10451045
{
10461046
myOutputFileName += extension;
10471047
}

0 commit comments

Comments
 (0)
Please sign in to comment.