Skip to content

Commit

Permalink
Automatically select crs also when 'epsg' is lower case
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@9648 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Nov 17, 2008
1 parent fe10f3a commit 9dd87e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsserversourceselect.cpp
Expand Up @@ -484,7 +484,7 @@ void QgsServerSourceSelect::on_lstLayers_itemSelectionChanged()
{
QStringList parts = i->split( ":" );

if ( parts.at( 0 ) == "EPSG" )
if ( parts.at(0).compare("EPSG", Qt::CaseInsensitive) == 0 )
{
long epsg = atol( parts.at( 1 ).toUtf8() );
if ( epsg == m_Epsg )
Expand Down

0 comments on commit 9dd87e3

Please sign in to comment.