fix context was not correctly set on project opening

This commit is contained in:
Denis Rouzaud 2017-11-28 08:59:02 -04:00 committed by Nyall Dawson
parent 4eab13df8a
commit fec7c705ff

View File

@ -922,6 +922,7 @@ bool QgsProject::readProjectFile( const QString &filename )
mCrs = projectCrs;
mTransformContext.readXml( doc->documentElement(), *doc, context );
emit transformContextChanged();
QDomNodeList nl = doc->elementsByTagName( QStringLiteral( "autotransaction" ) );
if ( nl.count() )