mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-15 23:46:06 +01:00
More PyQt6 nonsense
This commit is contained in:
parent
5e164c91c4
commit
d022ebda0f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue