Fix bug: Add type instance button duplicated (#5281)

This commit is contained in:
Manu Varkey
2024-09-02 15:07:08 +05:30
committed by GitHub
parent fb803ac35d
commit a452d29bab
@@ -811,9 +811,7 @@ class BimToolUI:
else:
text = ""
if not AuthoringData.data["ifc_element_type"]:
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)
if AuthoringData.data["relating_type_id"]: