From 02a3e14c1384eef3757db38b50fafe7de97a3f84 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sat, 26 Aug 2017 18:47:45 +1000 Subject: [PATCH] setupEditorShortcuts is a hook, not a filter add-ons can modify cuts in place --- aqt/editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/editor.py b/aqt/editor.py index 298d1866e..cd6f910d3 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -188,7 +188,7 @@ class Editor: ("Ctrl+Shift+X", self.onHtmlEdit), ("Ctrl+Shift+T", self.onFocusTags) ] - runFilter("setupEditorShortcuts", cuts, self) + runHook("setupEditorShortcuts", cuts, self) for keys, fn in cuts: QShortcut(QKeySequence(keys), self.widget, activated=fn)