mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Ignore links clicked in the preview panel
This commit is contained in:
parent
a40c6fe846
commit
d4b3e94afc
@ -146,6 +146,7 @@ class WebView(QWebView):
|
||||
|
||||
self.setHtml('<p>')
|
||||
self.page().setNetworkAccessManager(NetworkAccessManager(self))
|
||||
self.page().setLinkDelegationPolicy(self.page().DelegateAllLinks)
|
||||
|
||||
def sizeHint(self):
|
||||
return self._size_hint
|
||||
|
Loading…
x
Reference in New Issue
Block a user