From 7d42447b33f79f82c36a29a54d7a2beebafc3e1f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 17 Nov 2017 20:01:47 +0530 Subject: [PATCH] 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. --- 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 77ced9fbc9..0c38741472 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` or `Enter` + * - :kbd:`V` - 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 b324fe8b70..18ec35e7a5 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'), 'Return')) + action_spec = (_('View'), 'view.png', _('Read books'), _('V')) action_type = 'current' action_add_menu = True action_menu_clone_qaction = True