mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Use cancel icon for disabling operators for consistency
This commit is contained in:
@@ -45,7 +45,7 @@ class BIM_PT_constraints(Panel):
|
||||
row = self.layout.row(align=True)
|
||||
row.label(text=f"{ConstraintsData.data['total_objectives']} Objectives Found", icon="LIGHT")
|
||||
if self.props.is_editing == "IfcObjective":
|
||||
row.operator("bim.disable_constraint_editing_ui", text="", icon="CHECKMARK")
|
||||
row.operator("bim.disable_constraint_editing_ui", text="", icon="CANCEL")
|
||||
row.operator("bim.add_objective", text="", icon="ADD")
|
||||
else:
|
||||
row.operator("bim.load_objectives", text="", icon="GREASEPENCIL")
|
||||
|
||||
@@ -503,7 +503,7 @@ class BIM_PT_structural_loads(Panel):
|
||||
text="FILTER - OFF" if not self.props.filtered_structural_loads else "FILTER - ON",
|
||||
icon="FILTER",
|
||||
)
|
||||
row.operator("bim.disable_structural_load_editing_ui", text="", icon="SCREEN_BACK")
|
||||
row.operator("bim.disable_structural_load_editing_ui", text="", icon="CANCEL")
|
||||
|
||||
row = self.layout.row(align=True)
|
||||
prop_with_search(row, self.props, "structural_load_types", text="")
|
||||
@@ -574,7 +574,7 @@ class BIM_PT_boundary_conditions(Panel):
|
||||
text="FILTER - OFF" if not self.props.filtered_boundary_conditions else "FILTER - ON",
|
||||
icon="FILTER",
|
||||
)
|
||||
row.operator("bim.disable_boundary_condition_editing_ui", text="", icon="SCREEN_BACK")
|
||||
row.operator("bim.disable_boundary_condition_editing_ui", text="", icon="CANCEL")
|
||||
|
||||
row = self.layout.row(align=True)
|
||||
prop_with_search(row, self.props, "boundary_condition_types", text="")
|
||||
|
||||
Reference in New Issue
Block a user