mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Make pressing Enter a shortcut for the View action, in addition to V
This commit is contained in:
parent
07f5d2ecf2
commit
9ce6c24e1f
@ -686,7 +686,7 @@ calibre has several keyboard shortcuts to save you time and mouse movement. Thes
|
|||||||
- Save to disk
|
- Save to disk
|
||||||
* - :kbd:`T`
|
* - :kbd:`T`
|
||||||
- Edit book
|
- Edit book
|
||||||
* - :kbd:`V`
|
* - :kbd:`V` or `Enter`
|
||||||
- View
|
- View
|
||||||
* - :kbd:`Alt+V/Cmd+V in macOS`
|
* - :kbd:`Alt+V/Cmd+V in macOS`
|
||||||
- View specific format
|
- View specific format
|
||||||
|
@ -36,7 +36,7 @@ class HistoryAction(QAction):
|
|||||||
class ViewAction(InterfaceAction):
|
class ViewAction(InterfaceAction):
|
||||||
|
|
||||||
name = 'View'
|
name = 'View'
|
||||||
action_spec = (_('View'), 'view.png', _('Read books'), _('V'))
|
action_spec = (_('View'), 'view.png', _('Read books'), (_('V'), 'Return'))
|
||||||
action_type = 'current'
|
action_type = 'current'
|
||||||
action_add_menu = True
|
action_add_menu = True
|
||||||
action_menu_clone_qaction = True
|
action_menu_clone_qaction = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user