This commit is contained in:
Andrej730
2025-04-30 19:36:17 +05:00
parent c624162f09
commit 5b1da583d9
+5 -1
View File
@@ -96,7 +96,11 @@ class BIM_PT_tester(Panel):
op2.spec_index = props.active_specification_index
op2.req_index = i
if props.old_index == props.active_specification_index and props.n_entities > 0 and len(props.failed_entities)>0:
if (
props.old_index == props.active_specification_index
and props.n_entities > 0
and len(props.failed_entities) > 0
):
row = self.layout.row()
row.label(text=f"Failed entities [{props.n_entities}]:")
self.layout.template_list(