Fix #769492 (Key Ctrl+L doesn't work)

This commit is contained in:
Kovid Goyal 2011-04-23 09:11:02 -06:00
parent cb347964d8
commit b26e7cf436

View File

@ -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 = {