Skip to content
Permalink
Browse files

Fix export map as image/PDF does not respect labeling engine settings

  • Loading branch information
nirvn committed May 19, 2018
1 parent ace955c commit 7464ca686c0add83761033b8cde6dbb41fd84099
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/app/qgsmapsavedialog.cpp
@@ -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() );

0 comments on commit 7464ca6

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