From 16221cc47aef30fd33457c18a240b7b99054ef1e Mon Sep 17 00:00:00 2001 From: Glutanimate Date: Wed, 23 Aug 2017 23:37:11 +0200 Subject: [PATCH] Pass on Editor instance when running "setupEditorShortcuts" filter --- aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/editor.py b/aqt/editor.py index e96274fa4..95cf9eeea 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -163,7 +163,7 @@ class Editor: ("Ctrl+Shift+X", self.onHtmlEdit), ("Ctrl+Shift+T", self.onFocusTags) ] - runFilter("setupEditorShortcuts", cuts) + runFilter("setupEditorShortcuts", cuts, self) for keys, fn in cuts: QShortcut(QKeySequence(keys), self.widget, activated=fn)