Skip to content

Commit 9d781fa

Browse files
author
jef
committed
follow QgsVectorLayer::featureAtId() api change
git-svn-id: http://svn.osgeo.org/qgis/trunk@9621 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 9221974 commit 9d781fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsattributetable.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ void QgsAttributeTable::addFeatureToTable( QgsVectorLayer *layer, int id )
442442
blockSignals( true );
443443

444444
QgsFeature f;
445-
if ( layer->featureAtId( id, f, false, true ) == 0 )
445+
if ( layer->featureAtId( id, f, false, true ) )
446446
{
447447
putFeatureInTable( rowCount(), f );
448448
}

0 commit comments

Comments
 (0)