apply default transform to newly created project

This commit is contained in:
Denis Rouzaud 2017-11-29 10:33:29 -04:00 committed by Nyall Dawson
parent 92a46f02cf
commit aa65da42f9

View File

@ -493,6 +493,10 @@ void QgsProject::clear()
mTrustLayerMetadata = false;
mCustomVariables.clear();
QgsCoordinateTransformContext context;
context.readSettings();
setTransformContext( context );
mEmbeddedLayers.clear();
mRelationManager->clear();
mAnnotationManager->clear();