Skip to content

Commit

Permalink
Fix early return in writeSymbology
Browse files Browse the repository at this point in the history
Talk about a noob error :)
  • Loading branch information
NathanW2 committed May 10, 2016
1 parent 21c6486 commit 1b63602
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -2004,7 +2004,8 @@ bool QgsVectorLayer::readStyle( const QDomNode &node, QString &errorMessage )

bool QgsVectorLayer::writeSymbology( QDomNode& node, QDomDocument& doc, QString& errorMessage ) const
{
return writeStyle( node, doc, errorMessage );
(void)writeStyle( node, doc, errorMessage );

// FIXME
// edittypes are written to the layerNode
// by slot QgsEditorWidgetRegistry::writeMapLayer()
Expand Down

0 comments on commit 1b63602

Please sign in to comment.