We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ca5a1f commit 431d695Copy full SHA for 431d695
src/core/qgsvectorlayer.cpp
@@ -2894,9 +2894,12 @@ bool QgsVectorLayer::commitChanges()
2894
QgsAttributeMap dst;
2895
2896
for ( QgsAttributeMap::const_iterator it = src.begin(); it != src.end(); it++ )
2897
+ {
2898
if ( remap.contains( it.key() ) )
2899
2900
dst[ remap[it.key()] ] = it.value();
-
2901
+ }
2902
2903
src = dst;
2904
}
2905
@@ -3031,6 +3034,7 @@ bool QgsVectorLayer::commitChanges()
3031
3034
emit editingStopped();
3032
3035
3033
3036
3037
+
3038
mDataProvider->updateExtents();
3039
mDataProvider->updateFeatureCount();
3040
0 commit comments