Implement BCF delete label

This commit is contained in:
Dion Moult
2020-12-28 11:40:40 +11:00
parent 6cfa9f6e9b
commit d5566785be
3 changed files with 22 additions and 5 deletions
+5 -5
View File
@@ -1795,11 +1795,11 @@ class BIM_PT_bcf_metadata(Panel):
row = layout.row()
row.operator("bim.add_bcf_reference_link")
if topic.labels:
layout.label(text="Labels:")
for index, label in enumerate(topic.labels):
row = layout.row(align=True)
row.prop(label, "name", text="")
layout.label(text="Labels:")
for index, label in enumerate(topic.labels):
row = layout.row(align=True)
row.prop(label, "name", text="")
row.operator("bim.remove_bcf_label", icon="X", text="").index = index
if topic.bim_snippet.schema:
layout.label(text="BIM Snippet:")