Skip to content
Permalink
Browse files

follow QgsVectorLayer::featureAtId() api change

git-svn-id: http://svn.osgeo.org/qgis/trunk@9621 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Nov 11, 2008
1 parent 9221974 commit 9d781fa6c3d68ca5fd96a637538e24b572e7510c
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 9d781fa

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