mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Fix #5235
This commit is contained in:
@@ -531,9 +531,10 @@ def get_relating_type_id(self, context):
|
|||||||
|
|
||||||
|
|
||||||
def update_annotation_object_type(self, context):
|
def update_annotation_object_type(self, context):
|
||||||
self.relating_type_id = "0"
|
# Refresh enum items before changing property,
|
||||||
# changing enum doesn't trigger refresh by itself
|
# otherwise it might map to the wrong item.
|
||||||
AnnotationData.is_loaded = False
|
AnnotationData.is_loaded = False
|
||||||
|
self.relating_type_id = "0"
|
||||||
|
|
||||||
|
|
||||||
def update_sheet_data(self, context):
|
def update_sheet_data(self, context):
|
||||||
|
|||||||
Reference in New Issue
Block a user