diff --git a/src/core/qgsproject.cpp b/src/core/qgsproject.cpp index a879f3632d9..923905ba41e 100644 --- a/src/core/qgsproject.cpp +++ b/src/core/qgsproject.cpp @@ -493,6 +493,10 @@ void QgsProject::clear() mTrustLayerMetadata = false; mCustomVariables.clear(); + QgsCoordinateTransformContext context; + context.readSettings(); + setTransformContext( context ); + mEmbeddedLayers.clear(); mRelationManager->clear(); mAnnotationManager->clear();