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 f48fd0a..38f70ab 100644
--- a/Lib/defconQt/scriptingWindow.py
+++ b/Lib/defconQt/scriptingWindow.py
@@ -31,6 +31,7 @@ class MainScriptingWindow(QMainWindow):
"AllFonts": app.allFonts,
"CurrentFont": app.currentFont,
"CurrentGlyph": app.currentGlyph,
+ "rootHandle": self,
}
try:
code = compile(script, "<string>", "exec")