mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Fix bug: Add type instance button duplicated (#5281)
This commit is contained in:
@@ -811,9 +811,7 @@ class BimToolUI:
|
|||||||
else:
|
else:
|
||||||
text = ""
|
text = ""
|
||||||
if not AuthoringData.data["ifc_element_type"]:
|
if not AuthoringData.data["ifc_element_type"]:
|
||||||
|
|
||||||
prop_with_search(row, cls.props, "ifc_class", text="")
|
prop_with_search(row, cls.props, "ifc_class", text="")
|
||||||
row.operator("bim.add_constr_type_instance", text=text, icon_value=custom_icon_previews["ADD"].icon_id)
|
|
||||||
|
|
||||||
row = cls.layout.row(align=True)
|
row = cls.layout.row(align=True)
|
||||||
if AuthoringData.data["relating_type_id"]:
|
if AuthoringData.data["relating_type_id"]:
|
||||||
|
|||||||
Reference in New Issue
Block a user