Skip to content
Permalink
Browse files
Transaction: Update feature with generated values from the provider
  • Loading branch information
m-kuhn committed Nov 30, 2015
1 parent cd06376 commit b3cf454
Showing 1 changed file with 1 addition and 1 deletion.
@@ -24,7 +24,7 @@ bool QgsVectorLayerEditPassthrough::addFeature( QgsFeature& f )
fl << f;
if ( L->dataProvider()->addFeatures( fl ) )
{
f.setFeatureId( fl.first().id() );
f = fl.first();
emit featureAdded( f.id() );
return true;
}

0 comments on commit b3cf454

Please sign in to comment.