Skip to content

Commit

Permalink
Fix map views always recenter when resized
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 28, 2017
1 parent b31d18e commit 294e4a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsmapcanvasdockwidget.cpp
Expand Up @@ -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 );
} );
}

Expand Down

0 comments on commit 294e4a5

Please sign in to comment.