Skip to content

Commit e72a714

Browse files
committedFeb 19, 2012
case insensitive search for CRS in WMS provider
1 parent 6e1e55e commit e72a714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgswmssourceselect.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ void QgsWMSSourceSelect::enableLayersForCrs( QTreeWidgetItem *item )
553553
if ( !layerName.isEmpty() && styleName.isEmpty() )
554554
{
555555
// layer
556-
bool disable = !item->data( 0, Qt::UserRole + 2 ).toStringList().contains( mCRS );
556+
bool disable = !item->data( 0, Qt::UserRole + 2 ).toStringList().contains( mCRS, Qt::CaseInsensitive );
557557

558558
item->setDisabled( disable );
559559

0 commit comments

Comments
 (0)
Please sign in to comment.