Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix writing of legend symbol to project file
  • Loading branch information
wonder-sk committed Jun 22, 2017
1 parent e6863be commit 60c3dcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/qgsdatadefinedsizelegend.cpp
Expand Up @@ -347,7 +347,8 @@ void QgsDataDefinedSizeLegend::writeXml( QDomElement &elem, const QgsReadWriteCo

if ( mSymbol )
{
QgsSymbolLayerUtils::saveSymbol( "source", mSymbol.get(), doc, context );
QDomElement elemSymbol = QgsSymbolLayerUtils::saveSymbol( "source", mSymbol.get(), doc, context );
elem.appendChild( elemSymbol );
}

QDomElement elemFont = doc.createElement( "font" );
Expand Down

0 comments on commit 60c3dcf

Please sign in to comment.