Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
1 change: 1 addition & 0 deletions src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit 6a6a8dd

Please sign in to comment.