Skip to content
Permalink
Browse files

Fix early return in writeSymbology

Talk about a noob error :)
  • Loading branch information
NathanW2 committed May 10, 2016
1 parent 21c6486 commit 1b636025452aad69df815ebb64b7a9dbc4c18262
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsvectorlayer.cpp
@@ -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()

0 comments on commit 1b63602

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