mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
E-book viewer: Fix external links not working in the footnote popup panel
This commit is contained in:
parent
01085fc7d2
commit
ae7ec71db0
@ -863,6 +863,9 @@ class DocumentView(QWebView): # {{{
|
||||
self.manager.link_clicked(url)
|
||||
|
||||
def footnote_link_clicked(self, qurl):
|
||||
if qurl.scheme() in ('http', 'https'):
|
||||
self.link_clicked(qurl)
|
||||
return
|
||||
path = qurl.toLocalFile()
|
||||
self.link_clicked(self.as_url(path))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user