mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
E-book viewer: Make cmd+f a default shortcut for search
This commit is contained in:
parent
77478fd90c
commit
59c10115e1
@ -20,7 +20,7 @@ def parse_key_repr(sc):
|
|||||||
ans.ctrlKey = True
|
ans.ctrlKey = True
|
||||||
elif q is 'alt':
|
elif q is 'alt':
|
||||||
ans.altKey = True
|
ans.altKey = True
|
||||||
elif q is 'meta':
|
elif q is 'meta' or q is 'cmd':
|
||||||
ans.metaKey = True
|
ans.metaKey = True
|
||||||
elif q is 'shift':
|
elif q is 'shift':
|
||||||
ans.shiftKey = True
|
ans.shiftKey = True
|
||||||
@ -219,7 +219,7 @@ def common_shortcuts(): # {{{
|
|||||||
),
|
),
|
||||||
|
|
||||||
'start_search': desc(
|
'start_search': desc(
|
||||||
v"['/', 'Ctrl+f']",
|
v"['/', 'Ctrl+f', 'Cmd+f']",
|
||||||
'ui',
|
'ui',
|
||||||
_('Start search'),
|
_('Start search'),
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user