Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Partially revert last commit
- Loading branch information
Showing
with
6 additions
and
2 deletions.
-
+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 ) |
|
|