aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/scriptingWindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/scriptingWindow.py')
-rw-r--r--Lib/defconQt/scriptingWindow.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/defconQt/scriptingWindow.py b/Lib/defconQt/scriptingWindow.py
index 2448d48..eef90e3 100644
--- a/Lib/defconQt/scriptingWindow.py
+++ b/Lib/defconQt/scriptingWindow.py
@@ -8,6 +8,7 @@ from PyQt5.QtWidgets import QApplication, QMainWindow, QMenu, QPlainTextEdit
class MainScriptingWindow(QMainWindow):
def __init__(self):
super(MainScriptingWindow, self).__init__()
+ self.setAttribute(Qt.WA_DeleteOnClose)
self.editor = PythonEditor(parent=self)
self.resize(600, 500)