mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1065615 (page is frozen afeter refresh)
This commit is contained in:
parent
7bba984259
commit
552fcea284
@ -479,7 +479,7 @@ class DocumentView(QWebView): # {{{
|
|||||||
d = self.document
|
d = self.document
|
||||||
self.unimplemented_actions = list(map(self.pageAction,
|
self.unimplemented_actions = list(map(self.pageAction,
|
||||||
[d.DownloadImageToDisk, d.OpenLinkInNewWindow, d.DownloadLinkToDisk,
|
[d.DownloadImageToDisk, d.OpenLinkInNewWindow, d.DownloadLinkToDisk,
|
||||||
d.OpenImageInNewWindow, d.OpenLink]))
|
d.OpenImageInNewWindow, d.OpenLink, d.Reload]))
|
||||||
self.dictionary_action = QAction(QIcon(I('dictionary.png')),
|
self.dictionary_action = QAction(QIcon(I('dictionary.png')),
|
||||||
_('&Lookup in dictionary'), self)
|
_('&Lookup in dictionary'), self)
|
||||||
self.dictionary_action.setShortcut(Qt.CTRL+Qt.Key_L)
|
self.dictionary_action.setShortcut(Qt.CTRL+Qt.Key_L)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user