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 b3cf45461e787f15eba95f167dd266f2bd9d19a3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsvectorlayereditpassthrough.cpp
@@ -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.
You can’t perform that action at this time.