Skip to content
Permalink
Browse files
case insensitive search for CRS in WMS provider
  • Loading branch information
alexbruy committed Feb 9, 2012
1 parent 9c9e863 commit 783088490cfe85c073da99730c12eaf52fea3af4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/wms/qgswmssourceselect.cpp
@@ -500,7 +500,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 7830884

Please sign in to comment.