Skip to content
Permalink
Browse files

follow QgsVectorLayer::featureAtId() api change

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9621 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 11, 2008
1 parent 42e6a11 commit 4a190a20a18ef89135d81652fce1ac10998e7481
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsattributetable.cpp
@@ -442,7 +442,7 @@ void QgsAttributeTable::addFeatureToTable( QgsVectorLayer *layer, int id )
blockSignals( true );

QgsFeature f;
if ( layer->featureAtId( id, f, false, true ) == 0 )
if ( layer->featureAtId( id, f, false, true ) )
{
putFeatureInTable( rowCount(), f );
}

0 comments on commit 4a190a2

Please sign in to comment.
You can’t perform that action at this time.