fix: use FreeCADGui.Document.Modified instead of App.Document.IsModified() #16
Reference in New Issue
Block a user
Delete Branch "fix/pull-is-modified-bug"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
App.Document has no IsModified() method, causing Silo_Pull to crash with
AttributeError. The correct API is to get the Gui document and check its
Modified property, consistent with the pattern used elsewhere in this file
(lines 891, 913).