mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
fix draw_project_not_saved_ui for BIM documentation
This commit is contained in:
@@ -174,7 +174,7 @@ class BIM_PT_drawings(Panel):
|
|||||||
DrawingsData.load()
|
DrawingsData.load()
|
||||||
|
|
||||||
if not DrawingsData.data["has_saved_ifc"]:
|
if not DrawingsData.data["has_saved_ifc"]:
|
||||||
draw_project_not_saved_ui()
|
draw_project_not_saved_ui(self)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.props = context.scene.DocProperties
|
self.props = context.scene.DocProperties
|
||||||
@@ -242,7 +242,7 @@ class BIM_PT_schedules(Panel):
|
|||||||
DocumentsData.load()
|
DocumentsData.load()
|
||||||
|
|
||||||
if not DocumentsData.data["has_saved_ifc"]:
|
if not DocumentsData.data["has_saved_ifc"]:
|
||||||
draw_project_not_saved_ui()
|
draw_project_not_saved_ui(self)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.props = context.scene.DocProperties
|
self.props = context.scene.DocProperties
|
||||||
@@ -341,7 +341,7 @@ class BIM_PT_sheets(Panel):
|
|||||||
SheetsData.load()
|
SheetsData.load()
|
||||||
|
|
||||||
if not SheetsData.data["has_saved_ifc"]:
|
if not SheetsData.data["has_saved_ifc"]:
|
||||||
draw_project_not_saved_ui()
|
draw_project_not_saved_ui(self)
|
||||||
return
|
return
|
||||||
|
|
||||||
self.props = context.scene.DocProperties
|
self.props = context.scene.DocProperties
|
||||||
|
|||||||
Reference in New Issue
Block a user