Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Partially revert last commit
  • Loading branch information
m-kuhn committed Oct 24, 2017
1 parent 49de489 commit ca5cd88
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/core/qgsvectorlayerfeatureiterator.cpp
Expand Up @@ -211,8 +211,12 @@ QgsVectorLayerFeatureIterator::QgsVectorLayerFeatureIterator( QgsVectorLayerFeat
if ( mSource->mHasEditBuffer )
{
mChangedFeaturesRequest = mProviderRequest;
const QgsFeatureIds changedIds = mSource->mChangedAttributeValues.keys().toSet();

QgsFeatureIds changedIds;
QgsChangedAttributesMap::const_iterator attIt = mSource->mChangedAttributeValues.constBegin();
for ( ; attIt != mSource->mChangedAttributeValues.constEnd(); ++attIt )
{
changedIds << attIt.key();
}
mChangedFeaturesRequest.setFilterFids( changedIds );

if ( mChangedFeaturesRequest.limit() > 0 )
Expand Down

0 comments on commit ca5cd88

Please sign in to comment.