Include other Draft commands

This commit is contained in:
Roy-043
2024-11-30 16:48:41 +01:00
parent e40cab88ad
commit 0ae35d6bab
8 changed files with 75 additions and 46 deletions

View File

@@ -431,7 +431,8 @@ class TaskPanelPolarArray:
the delayed functions, and perform cleanup.
"""
# App.ActiveDocument.commitTransaction()
Gui.ActiveDocument.resetEdit()
if Gui.ActiveDocument is not None:
Gui.ActiveDocument.resetEdit()
# Runs the parent command to complete the call
self.source_command.completed()