Skip to content

Commit c9b85b0

Browse files
committed
update ProjectCrs property in the project file
1 parent 810773a commit c9b85b0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/qgisapp.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -8088,7 +8088,9 @@ void QgisApp::destinationSrsChanged()
80888088
{
80898089
// save this information to project
80908090
long srsid = mMapCanvas->mapRenderer()->destinationCrs().srsid();
8091+
QString srs = mMapCanvas->mapRenderer()->destinationCrs().authid();
80918092
QgsProject::instance()->writeEntry( "SpatialRefSys", "/ProjectCRSID", ( int )srsid );
8093+
QgsProject::instance()->writeEntry( "SpatialRefSys", "/ProjectCrs", srs );
80928094
updateCRSStatusBar();
80938095
}
80948096

0 commit comments

Comments
 (0)