fix ui error in 40e4949

bim.add_manual_classification_reference operator doesn't have a "type" property, only "obj_type"
This commit is contained in:
Andrej730
2024-05-23 12:35:37 +05:00
parent c405ff1adf
commit 96088c1d08
@@ -155,7 +155,7 @@ class ReferenceUI:
blenderbim.bim.helper.draw_attributes(self.props.reference_attributes, self.layout)
row = self.layout.row(align=True)
op = row.operator("bim.add_manual_classification_reference", text="Save", icon="CHECKMARK")
op.type = self.data.data["object_type"]
op.obj_type = self.data.data["object_type"]
row.operator("bim.disable_adding_manual_classification_reference", text="", icon="CANCEL")
else:
row = self.layout.row()