Skip to content

Commit

Permalink
case insensitive search for CRS in WMS provider
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Feb 19, 2012
1 parent 6e1e55e commit e72a714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgswmssourceselect.cpp
Expand Up @@ -553,7 +553,7 @@ void QgsWMSSourceSelect::enableLayersForCrs( QTreeWidgetItem *item )
if ( !layerName.isEmpty() && styleName.isEmpty() )
{
// layer
bool disable = !item->data( 0, Qt::UserRole + 2 ).toStringList().contains( mCRS );
bool disable = !item->data( 0, Qt::UserRole + 2 ).toStringList().contains( mCRS, Qt::CaseInsensitive );

item->setDisabled( disable );

Expand Down

0 comments on commit e72a714

Please sign in to comment.