mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Remove default keyboard shortcuts for the new general Tag Browser items. Rationale: before they could not conflict with a user-defined shortcut, but now they can. The conflict will be very mysterious for people. On the other hand, if people used the previous shortcuts then they will stop working, which gives them the indication that they need to do something, and in any event the shortcut could be different from what it was in languages other than English. This second case will be easier to support than the first.
This commit is contained in:
parent
b592feb464
commit
b574e4c977
@ -337,7 +337,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
ac = QAction(parent)
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser find box',
|
||||
_('Find item'), default_keys=("Alt+f",),
|
||||
_('Find item'), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
ac.triggered.connect(self.set_focus_to_find_box)
|
||||
|
||||
@ -348,7 +348,7 @@ class TagBrowserWidget(QWidget): # {{{
|
||||
ac = QAction(parent)
|
||||
parent.addAction(ac)
|
||||
parent.keyboard.register_shortcut('tag browser find button',
|
||||
_('Find button'), default_keys=("Alt+i",),
|
||||
_('Find button'), default_keys=(),
|
||||
action=ac, group=_('Tag Browser'))
|
||||
ac.triggered.connect(self.search_button.click)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user