Skip to content

Commit 96fd29b

Browse files
author
jef
committed
fix #2624
git-svn-id: http://svn.osgeo.org/qgis/trunk@13234 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent fe10f71 commit 96fd29b

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
@@ -527,7 +527,7 @@ void QgsWMSSourceSelect::enableLayersForCrs( QTreeWidgetItem *item )
527527
if ( !layerName.isEmpty() && styleName.isEmpty() )
528528
{
529529
// layer
530-
bool disable = !item->data( 0, Qt::UserRole + 1 ).toStringList().contains( mCRS );
530+
bool disable = !item->data( 0, Qt::UserRole + 2 ).toStringList().contains( mCRS );
531531

532532
item->setDisabled( disable );
533533

0 commit comments

Comments
 (0)