Skip to content
Permalink
Browse files
Merge pull request #43452 from domi4484/fixBrokenUnlinkFor1MRelations
Fix broken unlink for relation editor for 1:m non polymorphic relations
  • Loading branch information
domi4484 committed May 31, 2021
1 parent 452ce09 commit 3f4b48a43a00cffdcb447bd7b9648883140277b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsabstractrelationeditorwidget.cpp
@@ -559,7 +559,7 @@ void QgsAbstractRelationEditorWidget::unlinkFeatures( const QgsFeatureIds &fids
for ( QgsFeatureId fid : constFeatureids )
{
QgsVectorLayer *referencingLayer = mRelation.referencingLayer();
if ( mRelation.type() == QgsRelation::Normal )
if ( mRelation.type() == QgsRelation::Generated )
{
QgsPolymorphicRelation polyRel = mRelation.polymorphicRelation();

0 comments on commit 3f4b48a

Please sign in to comment.