mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 02:47:48 +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):
|
||||
self.relating_type_id = "0"
|
||||
# changing enum doesn't trigger refresh by itself
|
||||
# Refresh enum items before changing property,
|
||||
# otherwise it might map to the wrong item.
|
||||
AnnotationData.is_loaded = False
|
||||
self.relating_type_id = "0"
|
||||
|
||||
|
||||
def update_sheet_data(self, context):
|
||||
|
||||
Reference in New Issue
Block a user