Skip to content

Commit

Permalink
Transaction: Update feature with generated values from the provider
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Nov 30, 2015
1 parent cd06376 commit b3cf454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsvectorlayereditpassthrough.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b3cf454

Please sign in to comment.