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 6a6a8dda55b2737d9362dc0b5d02176c087ffeb5
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsrelationeditorwidget.cpp
@@ -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.
You can’t perform that action at this time.