This commit is contained in:
Kovid Goyal 2020-04-16 09:33:32 +05:30
parent d0c5d21661
commit 9c77006ce7
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -229,7 +229,7 @@ class View(QWebEngineView):
menu.addAction(_('Zoom in'), self.page().zoom_in)
menu.addAction(_('Zoom out'), self.page().zoom_out)
menu.addAction(_('Default zoom'), self.page().default_zoom)
menu.addAction(self.page().action(QWebEnginePage.InspectElement).text(), self.do_inspect_element)
menu.addAction(_('Inspect'), self.do_inspect_element)
menu.exec_(ev.globalPos())
def do_inspect_element(self):