Skip to content
Permalink
Browse files
case insensitive search for CRS in WMS provider
  • Loading branch information
alexbruy committed Feb 19, 2012
1 parent 6e1e55e commit e72a714de6f6215dde3aa2a5df7dc8df7adaee8a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgswmssourceselect.cpp
@@ -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 );

0 comments on commit e72a714

Please sign in to comment.