From 2ef3af5e1be1ef49b53e672921ba2dbe16a120e0 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Mon, 19 Aug 2024 15:29:28 +0500 Subject: [PATCH] bonsai bcf - make document reference uneditable as this data is not really editable and won't be saved --- src/bonsai/bonsai/bim/module/bcf/ui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bonsai/bonsai/bim/module/bcf/ui.py b/src/bonsai/bonsai/bim/module/bcf/ui.py index bf5270765f..7f0e1ea971 100644 --- a/src/bonsai/bonsai/bim/module/bcf/ui.py +++ b/src/bonsai/bonsai/bim/module/bcf/ui.py @@ -232,7 +232,7 @@ class BIM_PT_bcf_metadata(Panel): for index, doc in enumerate(topic.document_references): box = self.layout.box() row = box.row(align=True) - row.prop(doc, "reference") + row.prop(doc, "reference", emboss=False) if doc.is_external: row.operator("bim.open_uri", icon="URL", text="").uri = doc.reference else: @@ -242,7 +242,7 @@ class BIM_PT_bcf_metadata(Panel): row.operator("bim.remove_bcf_document_reference", icon="X", text="").index = index row = box.row(align=True) - row.prop(doc, "description") + row.prop(doc, "description", emboss=False) row = layout.row(align=True) row.prop(props, "document_reference") row.operator("bim.select_bcf_document_reference", icon="FILE_FOLDER", text="")