Fix map views always recenter when resized

This commit is contained in:
Nyall Dawson 2017-03-28 13:40:18 +10:00
parent b31d18e5df
commit 294e4a5c8c

View File

@ -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 );
} );
}