mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-02-26 06:34:40 +01:00
Explicitly disable the context menus for the link panel of the reports tool
This commit is contained in:
parent
e66347efea
commit
7d808289db
1 changed files with 2 additions and 0 deletions
|
|
@ -601,6 +601,8 @@ def __init__(self, parent=None):
|
|||
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…
Reference in a new issue