diff --git a/src/calibre/gui2/viewer/lookup.py b/src/calibre/gui2/viewer/lookup.py index 425383d4e4..7317400c04 100644 --- a/src/calibre/gui2/viewer/lookup.py +++ b/src/calibre/gui2/viewer/lookup.py @@ -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)