mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
[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).
This commit is contained in:
parent
8f9d17e1d0
commit
773ec220ba
@ -3186,7 +3186,6 @@ void QgisApp::setupConnections()
|
||||
connect( mMapCanvas, &QgsMapCanvas::scaleChanged, this, &QgisApp::updateMouseCoordinatePrecision );
|
||||
connect( mMapCanvas, &QgsMapCanvas::mapToolSet, this, &QgisApp::mapToolChanged );
|
||||
connect( mMapCanvas, &QgsMapCanvas::selectionChanged, this, &QgisApp::selectionChanged );
|
||||
connect( mMapCanvas, &QgsMapCanvas::extentsChanged, this, &QgisApp::markDirty );
|
||||
connect( mMapCanvas, &QgsMapCanvas::layersChanged, this, &QgisApp::markDirty );
|
||||
|
||||
connect( mMapCanvas, &QgsMapCanvas::zoomLastStatusChanged, mActionZoomLast, &QAction::setEnabled );
|
||||
|
Loading…
x
Reference in New Issue
Block a user