Use cancel icon for disabling operators for consistency

This commit is contained in:
Andrej730
2025-01-23 13:32:00 +05:00
parent d38608ea04
commit e18475e1ef
2 changed files with 3 additions and 3 deletions
@@ -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="")