Skip to content
Permalink
Browse files

fix #3542

git-svn-id: http://svn.osgeo.org/qgis/trunk@15329 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 4, 2011
1 parent 0a89f19 commit 42ee9604c18f3952c0f27a2cfb9a30a4a33de973
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/providers/ogr/qgsogrprovider.cpp
@@ -943,6 +943,8 @@ bool QgsOgrProvider::changeAttributeValues( const QgsChangedAttributesMap & attr

clearMinMaxCache();

setIgnoredFields( true, QgsAttributeList() );

for ( QgsChangedAttributesMap::const_iterator it = attr_map.begin(); it != attr_map.end(); ++it )
{
long fid = ( long ) it.key();
@@ -1012,6 +1014,8 @@ bool QgsOgrProvider::changeGeometryValues( QgsGeometryMap & geometry_map )
OGRFeatureH theOGRFeature = 0;
OGRGeometryH theNewGeometry = 0;

setIgnoredFields( true, QgsAttributeList() );

for ( QgsGeometryMap::iterator it = geometry_map.begin(); it != geometry_map.end(); ++it )
{
theOGRFeature = OGR_L_GetFeature( ogrLayer, it.key() );

0 comments on commit 42ee960

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