HIde Brick "Create Relation:" when not toggled

This commit is contained in:
rileywong311
2023-08-16 23:06:13 -07:00
parent acb3d42245
commit 85c0ecba13
@@ -147,6 +147,7 @@ class BIM_PT_brickschema(Panel):
row.prop(data=self.props, property="brick_edit_relations_toggled", text="", icon="TOOL_SETTINGS") row.prop(data=self.props, property="brick_edit_relations_toggled", text="", icon="TOOL_SETTINGS")
row.operator("bim.remove_brick", text="", icon="X") row.operator("bim.remove_brick", text="", icon="X")
if self.props.brick_create_relations_toggled:
row = self.layout.row(align=True) row = self.layout.row(align=True)
row.label(text="Create Relation:") row.label(text="Create Relation:")