mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-17 14:02:27 +00:00
Very minor UI improvement to saving work calendar changes to show the text in the edit button
This commit is contained in:
@@ -955,8 +955,8 @@ class BIM_PT_work_calendars(Panel):
|
|||||||
row.label(text=work_calendar["Name"] or "Unnamed", icon="VIEW_ORTHO")
|
row.label(text=work_calendar["Name"] or "Unnamed", icon="VIEW_ORTHO")
|
||||||
if self.props.active_work_calendar_id == work_calendar_id:
|
if self.props.active_work_calendar_id == work_calendar_id:
|
||||||
if self.props.editing_type == "ATTRIBUTES":
|
if self.props.editing_type == "ATTRIBUTES":
|
||||||
row.operator("bim.edit_work_calendar", text="", icon="CHECKMARK")
|
row.operator("bim.edit_work_calendar", icon="CHECKMARK")
|
||||||
row.operator("bim.disable_editing_work_calendar", text="Cancel", icon="CANCEL")
|
row.operator("bim.disable_editing_work_calendar", text="", icon="CANCEL")
|
||||||
elif self.props.active_work_calendar_id:
|
elif self.props.active_work_calendar_id:
|
||||||
row.operator("bim.remove_work_calendar", text="", icon="X").work_calendar = work_calendar_id
|
row.operator("bim.remove_work_calendar", text="", icon="X").work_calendar = work_calendar_id
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user