mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Explicitly disable the context menus for the link panel of the reports tool
This commit is contained in:
parent
e66347efea
commit
7d808289db
@ -601,6 +601,8 @@ class LinksWidget(QWidget):
|
||||
self.links.restore_table('links-table', sort_column=1)
|
||||
self.view = WebView(self)
|
||||
secure_web_page(self.view.page())
|
||||
self.setContextMenuPolicy(Qt.NoContextMenu)
|
||||
self.view.setContextMenuPolicy(Qt.NoContextMenu)
|
||||
s.addWidget(self.view)
|
||||
self.ignore_current_change = False
|
||||
self.current_url = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user