[QGIS Commit] r13234 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Apr 3 17:50:26 EDT 2010


Author: jef
Date: 2010-04-03 17:50:25 -0400 (Sat, 03 Apr 2010)
New Revision: 13234

Modified:
   trunk/qgis/src/app/qgswmssourceselect.cpp
Log:
fix #2624

Modified: trunk/qgis/src/app/qgswmssourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgswmssourceselect.cpp	2010-04-03 21:09:46 UTC (rev 13233)
+++ trunk/qgis/src/app/qgswmssourceselect.cpp	2010-04-03 21:50:25 UTC (rev 13234)
@@ -527,7 +527,7 @@
   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 );
 



More information about the QGIS-commit mailing list