We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 6dac946 commit fb48cc0Copy full SHA for fb48cc0
src/core/qgsvectorlayer.cpp
@@ -1610,7 +1610,7 @@ bool QgsVectorLayer::nextFeature( QgsFeature &f )
1610
1611
for ( QgsFeatureList::iterator it = mAddedFeatures.begin(); it != mAddedFeatures.end(); it++ )
1612
{
1613
- if ( fid != it->id() )
+ if ( fid == it->id() )
1614
1615
found = true;
1616
f.setAttributeMap( it->attributeMap() );
0 commit comments