From 9ce6c24e1fa8053ee3771eec6337d56325b8d686 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Nov 2017 18:56:06 +0530 Subject: [PATCH] Make pressing Enter a shortcut for the View action, in addition to V --- manual/gui.rst | 2 +- src/calibre/gui2/actions/view.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/gui.rst b/manual/gui.rst index 0c38741472..77ced9fbc9 100644 --- a/manual/gui.rst +++ b/manual/gui.rst @@ -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` + * - :kbd:`V` or `Enter` - View * - :kbd:`Alt+V/Cmd+V in macOS` - View specific format diff --git a/src/calibre/gui2/actions/view.py b/src/calibre/gui2/actions/view.py index 18ec35e7a5..b324fe8b70 100644 --- a/src/calibre/gui2/actions/view.py +++ b/src/calibre/gui2/actions/view.py @@ -36,7 +36,7 @@ class HistoryAction(QAction): class ViewAction(InterfaceAction): name = 'View' - action_spec = (_('View'), 'view.png', _('Read books'), _('V')) + action_spec = (_('View'), 'view.png', _('Read books'), (_('V'), 'Return')) action_type = 'current' action_add_menu = True action_menu_clone_qaction = True