Skip to content
Permalink
Browse files

On one to many relation it should check the referencing layer for bei…

…ng spatial instead of the referenced layer
  • Loading branch information
signedav committed Sep 10, 2020
1 parent 2ce9e48 commit 3a27bf3b19e9c6c05ab452d7511f320266be870f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsrelationeditorwidget.cpp
@@ -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
)
)
);

0 comments on commit 3a27bf3

Please sign in to comment.
You can’t perform that action at this time.