mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix #769492 (Key Ctrl+L doesn't work)
This commit is contained in:
parent
cb347964d8
commit
b26e7cf436
@ -534,6 +534,7 @@ class DocumentView(QWebView): # {{{
|
|||||||
_('&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)
|
||||||
self.dictionary_action.triggered.connect(self.lookup)
|
self.dictionary_action.triggered.connect(self.lookup)
|
||||||
|
self.addAction(self.dictionary_action)
|
||||||
self.goto_location_action = QAction(_('Go to...'), self)
|
self.goto_location_action = QAction(_('Go to...'), self)
|
||||||
self.goto_location_menu = m = QMenu(self)
|
self.goto_location_menu = m = QMenu(self)
|
||||||
self.goto_location_actions = a = {
|
self.goto_location_actions = a = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user