parent
7102459c81
commit
728f06e797
@ -620,6 +620,7 @@ class WebView(QWebView):
|
|||||||
"""Save a reference to the context menu so we can close it."""
|
"""Save a reference to the context menu so we can close it."""
|
||||||
menu = self.page().createStandardContextMenu()
|
menu = self.page().createStandardContextMenu()
|
||||||
self.shutting_down.connect(menu.close)
|
self.shutting_down.connect(menu.close)
|
||||||
|
modeman.instance(self.win_id).entered.connect(menu.close)
|
||||||
menu.exec_(e.globalPos())
|
menu.exec_(e.globalPos())
|
||||||
|
|
||||||
def wheelEvent(self, e):
|
def wheelEvent(self, e):
|
||||||
|
Loading…
Reference in New Issue
Block a user