Merge pull request #243 from glutanimate/browser-contextmenu-hook

Add a hook to browser.onContextMenu for add-on authors
This commit is contained in:
Damien Elmes 2018-07-26 16:24:39 +10:00 committed by GitHub
commit e8c66af53c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -461,6 +461,7 @@ class Browser(QMainWindow):
m.addSeparator()
for act in self.form.menu_Notes.actions():
m.addAction(act)
runHook("browser.onContextMenu", self, m)
m.exec_(QCursor.pos())
def updateFont(self):