Skip to content
Permalink
Browse files
Merge pull request #432 from matthias-kuhn/fix-vector-layer-signals
Fix: emit committedFeaturesAdded and committedFeaturesRemoved
  • Loading branch information
jef-n committed Feb 20, 2013
2 parents 6355e9b + ad7deec commit ace4183
Showing 1 changed file with 2 additions and 0 deletions.
@@ -2235,6 +2235,8 @@ bool QgsVectorLayer::startEditing()
connect( mEditBuffer, SIGNAL( attributeValueChanged( QgsFeatureId, int, QVariant ) ), this, SIGNAL( attributeValueChanged( QgsFeatureId, int, QVariant ) ) );
connect( mEditBuffer, SIGNAL( attributeAdded( int ) ), this, SIGNAL( attributeAdded( int ) ) );
connect( mEditBuffer, SIGNAL( attributeDeleted( int ) ), this, SIGNAL( attributeDeleted( int ) ) );
connect( mEditBuffer, SIGNAL( committedFeaturesAdded( QString, QgsFeatureList ) ), this, SIGNAL( committedFeaturesAdded( QString, QgsFeatureList ) ) );
connect( mEditBuffer, SIGNAL( committedFeaturesRemoved( QString, QgsFeatureIds ) ), this, SIGNAL( committedFeaturesRemoved( QString, QgsFeatureIds ) ) );

updateFields();

0 comments on commit ace4183

Please sign in to comment.