Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix export map as image/PDF does not respect labeling engine settings
  • Loading branch information
nirvn committed May 19, 2018
1 parent ace955c commit 7464ca6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgsmapsavedialog.cpp
Expand Up @@ -295,6 +295,7 @@ void QgsMapSaveDialog::applyMapSettings( QgsMapSettings &mapSettings )
mapSettings.setBackgroundColor( mMapCanvas->canvasColor() );
mapSettings.setRotation( mMapCanvas->rotation() );
mapSettings.setLayers( mMapCanvas->layers() );
mapSettings.setLabelingEngineSettings( mMapCanvas->mapSettings().labelingEngineSettings() );
mapSettings.setTransformContext( QgsProject::instance()->transformContext() );
mapSettings.setPathResolver( QgsProject::instance()->pathResolver() );

Expand Down

0 comments on commit 7464ca6

Please sign in to comment.