Skip to content
Permalink
Browse files
fix #2624
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13234 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Apr 3, 2010
1 parent f806f2a commit 6f67cf2
Showing 1 changed file with 1 addition and 1 deletion.
@@ -527,7 +527,7 @@ void QgsWMSSourceSelect::enableLayersForCrs( QTreeWidgetItem *item )
if ( !layerName.isEmpty() && styleName.isEmpty() )
{
// layer
bool disable = !item->data( 0, Qt::UserRole + 1 ).toStringList().contains( mCRS );
bool disable = !item->data( 0, Qt::UserRole + 2 ).toStringList().contains( mCRS );

item->setDisabled( disable );

0 comments on commit 6f67cf2

Please sign in to comment.