Merge pull request #243 from glutanimate/browser-contextmenu-hook
Add a hook to browser.onContextMenu for add-on authors
This commit is contained in:
commit
e8c66af53c
@ -461,6 +461,7 @@ class Browser(QMainWindow):
|
|||||||
m.addSeparator()
|
m.addSeparator()
|
||||||
for act in self.form.menu_Notes.actions():
|
for act in self.form.menu_Notes.actions():
|
||||||
m.addAction(act)
|
m.addAction(act)
|
||||||
|
runHook("browser.onContextMenu", self, m)
|
||||||
m.exec_(QCursor.pos())
|
m.exec_(QCursor.pos())
|
||||||
|
|
||||||
def updateFont(self):
|
def updateFont(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user