Skip to content

Commit

Permalink
follow QgsVectorLayer::featureAtId() api change
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9621 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Nov 11, 2008
1 parent 42e6a11 commit 4a190a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsattributetable.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 4a190a2

Please sign in to comment.