Skip to content

Commit

Permalink
on one to many relations if the parent or the child is spatial and th…
Browse files Browse the repository at this point in the history
…e other one is not, it should consider the spatial status of the child to decide if it can zoomToFeature
  • Loading branch information
signedav committed Sep 10, 2020
1 parent 7d1db1b commit ad06d04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsrelationeditorwidget.cpp
Expand Up @@ -438,8 +438,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 ad06d04

Please sign in to comment.