WIP assigning a class also assigns the spatial container if possible. See #1222.

This commit is contained in:
Dion Moult
2021-01-04 16:23:36 +11:00
parent 23a66b3a72
commit d4a219e54f
4 changed files with 27 additions and 8 deletions
@@ -15,7 +15,7 @@ class Usecase:
contained_in_structure = self.settings["product"].ContainedInStructure
contains_elements = self.settings["relating_structure"].ContainsElements
if contained_in_structure == contains_elements:
if contains_elements and contained_in_structure == contains_elements:
return
if contained_in_structure: