Compare commits
1 Commits
fix/pull-p
...
7cf5867a7a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7cf5867a7a |
@@ -392,8 +392,10 @@ class SiloOrigin:
|
||||
obj.SiloPartNumber, str(file_path), properties, comment=""
|
||||
)
|
||||
|
||||
# Clear modified flag
|
||||
doc.Modified = False
|
||||
# Clear modified flag (Modified is on Gui.Document, not App.Document)
|
||||
gui_doc = FreeCADGui.getDocument(doc.Name)
|
||||
if gui_doc:
|
||||
gui_doc.Modified = False
|
||||
|
||||
return True
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user