Merge pull request #4909 from troyp76/master
Path: Fixed incorrect usage of isDirty() in the accept button call back.
This commit is contained in:
@@ -1113,7 +1113,7 @@ class TaskPanel(object):
|
||||
def accept(self, resetEdit=True):
|
||||
'''accept() ... callback invoked when user presses the task panel OK button.'''
|
||||
self.preCleanup()
|
||||
if self.isDirty:
|
||||
if self.isDirty():
|
||||
self.panelGetFields()
|
||||
FreeCAD.ActiveDocument.commitTransaction()
|
||||
self.cleanup(resetEdit)
|
||||
|
||||
Reference in New Issue
Block a user