Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Code style cleanup only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11924 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Nov 6, 2009
1 parent 2ca5a1f commit 431d695
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/core/qgsvectorlayer.cpp
Expand Up @@ -2894,9 +2894,12 @@ bool QgsVectorLayer::commitChanges()
QgsAttributeMap dst;

for ( QgsAttributeMap::const_iterator it = src.begin(); it != src.end(); it++ )
{
if ( remap.contains( it.key() ) )
{
dst[ remap[it.key()] ] = it.value();

}
}
src = dst;
}

Expand Down Expand Up @@ -3031,6 +3034,7 @@ bool QgsVectorLayer::commitChanges()
emit editingStopped();
}


mDataProvider->updateExtents();
mDataProvider->updateFeatureCount();

Expand Down

0 comments on commit 431d695

Please sign in to comment.