Skip to content

Commit

Permalink
Write labeling engine settings in project file
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed May 17, 2018
1 parent d5cec14 commit 2564cf3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/qgsproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1631,6 +1631,7 @@ bool QgsProject::writeProjectFile( const QString &filename )
}
qgisNode.appendChild( layerOrderNode );

mLabelingEngineSettings->writeSettingsToProject( this );

// now add the optional extra properties

Expand All @@ -1646,8 +1647,6 @@ bool QgsProject::writeProjectFile( const QString &filename )

mMapThemeCollection->writeXml( *doc );

mLabelingEngineSettings->writeSettingsToProject( this );

mTransformContext.writeXml( qgisNode, context );

QDomElement metadataElem = doc->createElement( QStringLiteral( "projectMetadata" ) );
Expand Down

0 comments on commit 2564cf3

Please sign in to comment.