Skip to content

Commit

Permalink
On one to many relation it should check the referencing layer for bei…
Browse files Browse the repository at this point in the history
…ng spatial instead of the referenced layer
  • Loading branch information
signedav committed Sep 10, 2020
1 parent 2ce9e48 commit 3a27bf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -441,8 +441,8 @@ void QgsRelationEditorWidget::updateButtons()
||
(
mRelation.isValid() &&
mRelation.referencedLayer()->geometryType() != QgsWkbTypes::NullGeometry &&
mRelation.referencedLayer()->geometryType() != QgsWkbTypes::UnknownGeometry
mRelation.referencingLayer()->geometryType() != QgsWkbTypes::NullGeometry &&
mRelation.referencingLayer()->geometryType() != QgsWkbTypes::UnknownGeometry
)
)
);
Expand Down

0 comments on commit 3a27bf3

Please sign in to comment.