Skip to content
Permalink
Browse files

Added EPSG to the quick CRS button

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10110 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann
homann committed Feb 5, 2009
1 parent bf1e587 commit 78417eb5e688c24d65c2f70d632b8ba2a5c16ea4
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 78417eb

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