Skip to content

Commit ace4183

Browse files
committed
Merge pull request #432 from matthias-kuhn/fix-vector-layer-signals
Fix: emit committedFeaturesAdded and committedFeaturesRemoved
2 parents 6355e9b + ad7deec commit ace4183

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsvectorlayer.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -2235,6 +2235,8 @@ bool QgsVectorLayer::startEditing()
22352235
connect( mEditBuffer, SIGNAL( attributeValueChanged( QgsFeatureId, int, QVariant ) ), this, SIGNAL( attributeValueChanged( QgsFeatureId, int, QVariant ) ) );
22362236
connect( mEditBuffer, SIGNAL( attributeAdded( int ) ), this, SIGNAL( attributeAdded( int ) ) );
22372237
connect( mEditBuffer, SIGNAL( attributeDeleted( int ) ), this, SIGNAL( attributeDeleted( int ) ) );
2238+
connect( mEditBuffer, SIGNAL( committedFeaturesAdded( QString, QgsFeatureList ) ), this, SIGNAL( committedFeaturesAdded( QString, QgsFeatureList ) ) );
2239+
connect( mEditBuffer, SIGNAL( committedFeaturesRemoved( QString, QgsFeatureIds ) ), this, SIGNAL( committedFeaturesRemoved( QString, QgsFeatureIds ) ) );
22382240

22392241
updateFields();
22402242

0 commit comments

Comments
 (0)