Revert "Make pressing Enter a shortcut for the View action, in addition to V"

Turns out there is no good way to have a global shortcut with Enter that
does not interfere with the use of the enter key in child widgets.
This reverts commit 9ce6c24e1fa8053ee3771eec6337d56325b8d686.
This commit is contained in:
Kovid Goyal 2017-11-17 20:01:47 +05:30
parent 9ce6c24e1f
commit 7d42447b33
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -686,7 +686,7 @@ calibre has several keyboard shortcuts to save you time and mouse movement. Thes
- Save to disk
* - :kbd:`T`
- Edit book
* - :kbd:`V` or `Enter`
* - :kbd:`V`
- View
* - :kbd:`Alt+V/Cmd+V in macOS`
- View specific format

View File

@ -36,7 +36,7 @@ class HistoryAction(QAction):
class ViewAction(InterfaceAction):
name = 'View'
action_spec = (_('View'), 'view.png', _('Read books'), (_('V'), 'Return'))
action_spec = (_('View'), 'view.png', _('Read books'), _('V'))
action_type = 'current'
action_add_menu = True
action_menu_clone_qaction = True