From 2cd7240fd297163b7d4d14827240b08184119b2d Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 22 Apr 2012 10:48:20 +0900 Subject: [PATCH] add hook to editor button setup --- aqt/editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aqt/editor.py b/aqt/editor.py index 270041673..554628326 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -395,6 +395,7 @@ class Editor(object): s.connect(s, SIGNAL("activated()"), self.insertLatexMathEnv) s = QShortcut(QKeySequence("Ctrl+Shift+X"), self.widget) s.connect(s, SIGNAL("activated()"), self.onHtmlEdit) + runHook("setupEditorButtons", self) def enableButtons(self, val=True): for b in self._buttons.values():