Skip to content
Permalink
Browse files

update ProjectCrs property in the project file

  • Loading branch information
leyan committed Jan 23, 2014
1 parent 810773a commit c9b85b0caa27151ac44c63ae10df55b176c8779f
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/app/qgisapp.cpp
@@ -8088,7 +8088,9 @@ void QgisApp::destinationSrsChanged()
{
// save this information to project
long srsid = mMapCanvas->mapRenderer()->destinationCrs().srsid();
QString srs = mMapCanvas->mapRenderer()->destinationCrs().authid();
QgsProject::instance()->writeEntry( "SpatialRefSys", "/ProjectCRSID", ( int )srsid );
QgsProject::instance()->writeEntry( "SpatialRefSys", "/ProjectCrs", srs );
updateCRSStatusBar();
}

0 comments on commit c9b85b0

Please sign in to comment.
You can’t perform that action at this time.