Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix #3674
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15586 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 23, 2011
1 parent fc7ca17 commit 8e5431e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/gui/qgsprojectionselector.cpp
Expand Up @@ -550,7 +550,11 @@ long QgsProjectionSelector::selectedPostgresSrId()

QString QgsProjectionSelector::selectedAuthId()
{
return getSelectedExpression( "upper(auth_name||':'||auth_id)" );
int srid = getSelectedExpression( "srs_id" ).toLong();
if ( srid >= USER_CRS_START_ID )
return QString( "USER:%1" ).arg( srid );
else
return getSelectedExpression( "upper(auth_name||':'||auth_id)" );
}


Expand Down

0 comments on commit 8e5431e

Please sign in to comment.