Skip to content
Permalink
Browse files

fix typo, a polymorphic relation is a generated relation, not a norma…

…l relation
  • Loading branch information
speillet authored and nyalldawson committed Feb 17, 2021
1 parent c4c45ab commit 2086be66ecc91e30062d91976dfbdf7a979395a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsabstractrelationeditorwidget.cpp
@@ -476,7 +476,7 @@ void QgsAbstractRelationEditorWidget::onLinkFeatureDlgAccepted()
for ( QgsFeatureId fid : constSelectedFeatures )
{
QgsVectorLayer *referencingLayer = mRelation.referencingLayer();
if ( mRelation.type() == QgsRelation::Normal )
if ( mRelation.type() == QgsRelation::Generated )
{
QgsPolymorphicRelation polyRel = mRelation.polymorphicRelation();

0 comments on commit 2086be6

Please sign in to comment.