mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
HIde Brick "Create Relation:" when not toggled
This commit is contained in:
@@ -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:")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user