diff --git a/CadQuery/Gui/Command.py b/CadQuery/Gui/Command.py index 906d33d..d705961 100644 --- a/CadQuery/Gui/Command.py +++ b/CadQuery/Gui/Command.py @@ -98,6 +98,7 @@ class CadQueryCloseScript: #Clear our script and whatever was rendered by it out cqCodePane.file.close() + cqCodePane.close() class CadQueryExecuteExample: exFile = None