mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Code style cleanup only
git-svn-id: http://svn.osgeo.org/qgis/trunk@11924 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
ca87ba06e4
commit
ae172a0f2d
@ -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;
|
||||
}
|
||||
|
||||
@ -3031,6 +3034,7 @@ bool QgsVectorLayer::commitChanges()
|
||||
emit editingStopped();
|
||||
}
|
||||
|
||||
|
||||
mDataProvider->updateExtents();
|
||||
mDataProvider->updateFeatureCount();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user