diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index 7d62d6c01b..6fcdf86e54 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -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)