Skip to content
Permalink
Browse files

Partially revert last commit

  • Loading branch information
m-kuhn committed Oct 24, 2017
1 parent 49de489 commit ca5cd88272e6bd39ac80a8a2f93eb6bf9d60103d
Showing with 6 additions and 2 deletions.
  1. +6 −2 src/core/qgsvectorlayerfeatureiterator.cpp
@@ -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 )

0 comments on commit ca5cd88

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