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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Tue Nov 11 08:36:37 EST 2008


Author: jef
Date: 2008-11-11 08:36:37 -0500 (Tue, 11 Nov 2008)
New Revision: 9621

Modified:
   trunk/qgis/src/app/qgsattributetable.cpp
Log:
follow QgsVectorLayer::featureAtId() api change

Modified: trunk/qgis/src/app/qgsattributetable.cpp
===================================================================
--- trunk/qgis/src/app/qgsattributetable.cpp	2008-11-11 13:13:13 UTC (rev 9620)
+++ trunk/qgis/src/app/qgsattributetable.cpp	2008-11-11 13:36:37 UTC (rev 9621)
@@ -442,7 +442,7 @@
   blockSignals( true );
 
   QgsFeature f;
-  if ( layer->featureAtId( id, f, false, true ) == 0 )
+  if ( layer->featureAtId( id, f, false, true ) )
   {
     putFeatureInTable( rowCount(), f );
   }



More information about the QGIS-commit mailing list