Skip to content

Commit 294e4a5

Browse files
committed
Fix map views always recenter when resized
1 parent b31d18e commit 294e4a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app/qgsmapcanvasdockwidget.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,8 @@ QgsMapCanvasDockWidget::QgsMapCanvasDockWidget( const QString &name, QWidget *pa
201201
connect( &mResizeTimer, &QTimer::timeout, this, [ = ]
202202
{
203203
mBlockExtentSync = false;
204-
syncViewCenter( mMainCanvas );
204+
if ( mActionSyncView->isChecked() )
205+
syncViewCenter( mMainCanvas );
205206
} );
206207
}
207208

0 commit comments

Comments
 (0)