BIM: Fixed status bar display and project command

This commit is contained in:
Yorik van Havre
2024-05-13 14:39:51 +02:00
committed by Yorik van Havre
parent c857b04e50
commit f7ec184f32
2 changed files with 2 additions and 1 deletions

View File

@@ -213,6 +213,7 @@ def setStatusIcons(show=True):
gnudge.triggered.connect(setNudge)
statuswidget.nudgeLabelsI = nudgeLabelsI
statuswidget.nudgeLabelsM = nudgeLabelsM
statuswidget.show()
else:
if statuswidget is None:

View File

@@ -43,7 +43,7 @@ class BIM_Project:
def Activated(self):
from nativeifc import ifc_tools
project = ifc_tools.create_document_object(FreeCAD.ActiveDocument)
project = ifc_tools.create_document(FreeCAD.ActiveDocument)
project.Modified = True
FreeCAD.ActiveDocument.recompute()