mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
More PyQt6 nonsense
This commit is contained in:
parent
5363c147ba
commit
b1686441bd
@ -226,7 +226,7 @@ class View(QWebEngineView):
|
||||
inspect_element = pyqtSignal()
|
||||
|
||||
def contextMenuEvent(self, ev):
|
||||
menu = self.page().createStandardContextMenu()
|
||||
menu = self.createStandardContextMenu()
|
||||
menu.addSeparator()
|
||||
menu.addAction(_('Zoom in'), self.page().zoom_in)
|
||||
menu.addAction(_('Zoom out'), self.page().zoom_out)
|
||||
|
Loading…
x
Reference in New Issue
Block a user