This commit is contained in:
Matthias Kuhn 2019-07-30 11:57:41 +02:00
parent 6333ecc738
commit 5873bc8316

View File

@ -5515,7 +5515,7 @@ bool QgisApp::fileNew( bool promptToSaveFlag, bool forceBlank )
const QgsCoordinateReferenceSystem srs = QgsCoordinateReferenceSystem( settings.value( QStringLiteral( "/projections/defaultProjectCrs" ), GEO_EPSG_CRS_AUTHID, QgsSettings::App ).toString() );
// write the projections _proj string_ to project settings
const bool planimetric = settings.value( QStringLiteral( "/qgis/measure/planimetric" ), true ).toBool();
prj->setCrs( srs, !planimetric ); // If the default ellipsoid is not planimetric, set it from the defualt crs
prj->setCrs( srs, !planimetric ); // If the default ellipsoid is not planimetric, set it from the default crs
if ( planimetric )
prj->setEllipsoid( GEO_NONE );