setupEditorShortcuts is a hook, not a filter
add-ons can modify cuts in place
This commit is contained in:
parent
ca37b15aa7
commit
02a3e14c13
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user