We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96a6672 commit 1bf1de8Copy full SHA for 1bf1de8
src/app/qgisapp.cpp
@@ -3877,13 +3877,17 @@ void QgisApp::removeLayer()
3877
currentLayerFile->toggleEditing();
3878
}
3879
mMapLegend->legendLayerRemove();
3880
+ // notify the project we've made a change
3881
+ QgsProject::instance()->dirty(true);
3882
3883
3884
3885
void QgisApp::removeAllLayers()
3886
{
3887
QgsMapLayerRegistry::instance()->removeAllMapLayers();
3888
mMapCanvas->refresh();
3889
3890
3891
} //remove all layers
3892
3893
0 commit comments