Skip to content

Commit 773ec22

Browse files
committedMar 12, 2018
[needs-docs] Don't mark a project as dirty when only the canvas extent
changes Since this is a view operation, not an edit operation, we don't mark it as changing the project state. (Much like how loading a doc in a word processor and scrolling to the last page isn't changing the document state).
1 parent 8f9d17e commit 773ec22

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3186,7 +3186,6 @@ void QgisApp::setupConnections()
31863186
connect( mMapCanvas, &QgsMapCanvas::scaleChanged, this, &QgisApp::updateMouseCoordinatePrecision );
31873187
connect( mMapCanvas, &QgsMapCanvas::mapToolSet, this, &QgisApp::mapToolChanged );
31883188
connect( mMapCanvas, &QgsMapCanvas::selectionChanged, this, &QgisApp::selectionChanged );
3189-
connect( mMapCanvas, &QgsMapCanvas::extentsChanged, this, &QgisApp::markDirty );
31903189
connect( mMapCanvas, &QgsMapCanvas::layersChanged, this, &QgisApp::markDirty );
31913190

31923191
connect( mMapCanvas, &QgsMapCanvas::zoomLastStatusChanged, mActionZoomLast, &QAction::setEnabled );

0 commit comments

Comments
 (0)
Please sign in to comment.