See #3561. Fix bug where schedules couldn't be removed.

This commit is contained in:
Dion Moult
2023-08-11 22:47:42 +10:00
parent 3c5ad1328f
commit 66fbbeff54
@@ -1867,7 +1867,7 @@ class RemoveSchedule(bpy.types.Operator, Operator):
schedule: bpy.props.IntProperty()
def _execute(self, context):
core.remove_document(tool.Ifc, tool.Drawing, "SCHEDULE", schedule=tool.Ifc.get().by_id(self.schedule))
core.remove_document(tool.Ifc, tool.Drawing, "SCHEDULE", document=tool.Ifc.get().by_id(self.schedule))
class OpenSchedule(bpy.types.Operator, Operator):