Skip to content
Permalink
Browse files
fix #3674
git-svn-id: http://svn.osgeo.org/qgis/trunk@15586 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 23, 2011
1 parent 91f7365 commit afe3c30998596425822a21fac311f05e6d60055a
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 afe3c30

Please sign in to comment.