Skip to content

Commit 42ee960

Browse files
author
jef
committed
fix #3542
git-svn-id: http://svn.osgeo.org/qgis/trunk@15329 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 0a89f19 commit 42ee960

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/providers/ogr/qgsogrprovider.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,8 @@ bool QgsOgrProvider::changeAttributeValues( const QgsChangedAttributesMap & attr
943943

944944
clearMinMaxCache();
945945

946+
setIgnoredFields( true, QgsAttributeList() );
947+
946948
for ( QgsChangedAttributesMap::const_iterator it = attr_map.begin(); it != attr_map.end(); ++it )
947949
{
948950
long fid = ( long ) it.key();
@@ -1012,6 +1014,8 @@ bool QgsOgrProvider::changeGeometryValues( QgsGeometryMap & geometry_map )
10121014
OGRFeatureH theOGRFeature = 0;
10131015
OGRGeometryH theNewGeometry = 0;
10141016

1017+
setIgnoredFields( true, QgsAttributeList() );
1018+
10151019
for ( QgsGeometryMap::iterator it = geometry_map.begin(); it != geometry_map.end(); ++it )
10161020
{
10171021
theOGRFeature = OGR_L_GetFeature( ogrLayer, it.key() );

0 commit comments

Comments
 (0)