Path: Fix automatic commitTransaction() calls, issue #6149 [Bug]

This commit removes the automatic committal of transactions when activated with GUI command.  The committal of the transaction is executed with the `accept()` and `reject()` methods of the respective task panel.
This commit is contained in:
Russell Johnson
2022-03-12 22:05:04 -06:00
parent 73e995a0f7
commit 2bc14f84aa
8 changed files with 8 additions and 8 deletions

View File

@@ -732,7 +732,7 @@ class CommandPathDressupLeadInOut:
FreeCADGui.doCommand(
"Gui.ActiveDocument.getObject(base.Name).Visibility = False"
)
FreeCAD.ActiveDocument.commitTransaction()
# FreeCAD.ActiveDocument.commitTransaction() # Final `commitTransaction()` called via TaskPanel.accept()
FreeCAD.ActiveDocument.recompute()