[QGIS Commit] r14444 - trunk/qgis/src/core

svn_qgis at osgeo.org svn_qgis at osgeo.org
Thu Oct 28 17:16:43 EDT 2010


Author: mhugent
Date: 2010-10-28 14:16:43 -0700 (Thu, 28 Oct 2010)
New Revision: 14444

Modified:
   trunk/qgis/src/core/qgsvectorlayer.cpp
Log:
Fix bug #3114

Modified: trunk/qgis/src/core/qgsvectorlayer.cpp
===================================================================
--- trunk/qgis/src/core/qgsvectorlayer.cpp	2010-10-28 06:50:05 UTC (rev 14443)
+++ trunk/qgis/src/core/qgsvectorlayer.cpp	2010-10-28 21:16:43 UTC (rev 14444)
@@ -1610,7 +1610,7 @@
 
             for ( QgsFeatureList::iterator it = mAddedFeatures.begin(); it != mAddedFeatures.end(); it++ )
             {
-              if ( fid != it->id() )
+              if ( fid == it->id() )
               {
                 found = true;
                 f.setAttributeMap( it->attributeMap() );



More information about the QGIS-commit mailing list