Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Reset embedded form when last feature is removed
- Loading branch information
Showing
with
1 addition
and
0 deletions.
-
+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 ) |
|
|