Skip to content
Permalink
Browse files

Added EPSG to the quick CRS button

git-svn-id: http://svn.osgeo.org/qgis/trunk@10110 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann
homann committed Feb 5, 2009
1 parent 44eb3b7 commit 2057f63428841076ac3076d1c98647fff6ddaf31
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/gui/qgsprojectionselector.cpp
@@ -296,6 +296,7 @@ void QgsProjectionSelector::applyCRSNameSelection()

QString QgsProjectionSelector::getCrsIdName( long theCrsId )
{
QString retvalue("");
if (
( mProjListDone ) &&
( mUserProjListDone )
@@ -307,10 +308,14 @@ QString QgsProjectionSelector::getCrsIdName( long theCrsId )

if ( nodes.count() > 0 )
{
return nodes.first()->text(0);
retvalue = nodes.first()->text(NAME_COLUMN);
if (nodes.first()->text(EPSG_COLUMN) != "" )
{
retvalue += QString(" (EPSG : %1)").arg(nodes.first()->text(EPSG_COLUMN));
}
}
}
return QString( "" );
return retvalue;

}

0 comments on commit 2057f63

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