git-svn-id: http://svn.osgeo.org/qgis/trunk@14444 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2010-10-28 21:16:43 +00:00
parent 6dac94660e
commit fb48cc0cc3

View File

@ -1610,7 +1610,7 @@ bool QgsVectorLayer::nextFeature( QgsFeature &f )
for ( QgsFeatureList::iterator it = mAddedFeatures.begin(); it != mAddedFeatures.end(); it++ )
{
if ( fid != it->id() )
if ( fid == it->id() )
{
found = true;
f.setAttributeMap( it->attributeMap() );