Skip to content
Permalink
Browse files

Fix writing of legend symbol to project file

  • Loading branch information
wonder-sk committed Jun 22, 2017
1 parent e6863be commit 60c3dcf96be1b503aff60d1c0119679de9afa082
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/core/qgsdatadefinedsizelegend.cpp
@@ -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" );

0 comments on commit 60c3dcf

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