Fix #3407. Override Ctrl-S to the export IFC which checks for Blender projects.

1. No IFC --> Saves Blend file
 2. IFC, unsaved Blend --> Saves IFC
 3. IFC, saved Blend --> Saves IFC and Blend
This commit is contained in:
Dion Moult
2023-07-11 23:07:51 +10:00
parent 298568d3ea
commit db4c61a472
6 changed files with 19 additions and 24 deletions
@@ -276,9 +276,6 @@ class BIM_PT_schedules(Panel):
def draw_project_not_saved_ui(self):
row = self.layout.row()
row.label(text="Project Not Yet Saved", icon="ERROR")
row = self.layout.row()
op = row.operator("export_ifc.bim", icon="EXPORT", text="Save Project")
op.should_save_as = False
class BIM_PT_references(Panel):