Skip to content
Permalink
Browse files
Fix map views always recenter when resized
  • Loading branch information
nyalldawson committed Mar 28, 2017
1 parent b31d18e commit 294e4a5c8c64ad6537ac83dccbf1ccc980e22feb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgsmapcanvasdockwidget.cpp
@@ -201,7 +201,8 @@ QgsMapCanvasDockWidget::QgsMapCanvasDockWidget( const QString &name, QWidget *pa
connect( &mResizeTimer, &QTimer::timeout, this, [ = ]
{
mBlockExtentSync = false;
syncViewCenter( mMainCanvas );
if ( mActionSyncView->isChecked() )
syncViewCenter( mMainCanvas );
} );
}

0 comments on commit 294e4a5

Please sign in to comment.