Skip to content
Permalink
Browse files
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 8e5431eb4e21b8c9ee6779dda17f8d42ca05b29f
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/gui/qgsprojectionselector.cpp
@@ -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)" );
}


0 comments on commit 8e5431e

Please sign in to comment.