Skip to content
Permalink
Browse files
Reset embedded form when last feature is removed
Fix #18754
  • Loading branch information
m-kuhn authored and nyalldawson committed Jun 21, 2018
1 parent 4c84cfa commit 6a6a8dd
Showing 1 changed file with 1 addition and 0 deletions.
@@ -489,6 +489,7 @@ void QgsRelationEditorWidget::deleteFeatures( const QgsFeatureIds &featureids )
{
QgsVectorLayer *layer = mNmRelation.isValid() ? mNmRelation.referencedLayer() : mRelation.referencingLayer();
layer->deleteFeatures( featureids );
updateUi();
}

void QgsRelationEditorWidget::unlinkFeature( const QgsFeatureId featureid )

0 comments on commit 6a6a8dd

Please sign in to comment.