Skip to content

Commit 60bdd8f

Browse files
author
mhugent
committed
Automatically select crs also when 'epsg' is lower case
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9648 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6a68962 commit 60bdd8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsserversourceselect.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ void QgsServerSourceSelect::on_lstLayers_itemSelectionChanged()
484484
{
485485
QStringList parts = i->split( ":" );
486486

487-
if ( parts.at( 0 ) == "EPSG" )
487+
if ( parts.at(0).compare("EPSG", Qt::CaseInsensitive) == 0 )
488488
{
489489
long epsg = atol( parts.at( 1 ).toUtf8() );
490490
if ( epsg == m_Epsg )

0 commit comments

Comments
 (0)