Skip to content

Commit

Permalink
Added EPSG to the quick CRS button
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@10110 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
homann committed Feb 5, 2009
1 parent 44eb3b7 commit 2057f63
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/gui/qgsprojectionselector.cpp
Expand Up @@ -296,6 +296,7 @@ void QgsProjectionSelector::applyCRSNameSelection()

QString QgsProjectionSelector::getCrsIdName( long theCrsId )
{
QString retvalue("");
if (
( mProjListDone ) &&
( mUserProjListDone )
Expand All @@ -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;

}

Expand Down

0 comments on commit 2057f63

Please sign in to comment.