Skip to content

Commit

Permalink
add missing refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Dec 15, 2017
1 parent d2353e7 commit e0b3197
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgsmapcanvas.cpp
Expand Up @@ -137,12 +137,14 @@ QgsMapCanvas::QgsMapCanvas( QWidget *parent )
this, [ = ]
{
mSettings.setEllipsoid( QgsProject::instance()->ellipsoid() );
refresh();
} );
mSettings.setTransformContext( QgsProject::instance()->transformContext() );
connect( QgsProject::instance(), &QgsProject::transformContextChanged,
this, [ = ]
{
mSettings.setTransformContext( QgsProject::instance()->transformContext() );
refresh();
} );

//segmentation parameters
Expand Down

0 comments on commit e0b3197

Please sign in to comment.