From 1bd6c935e17d24616c711984dc3905a26a2edc88 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 3 Nov 2014 08:39:12 +0530 Subject: [PATCH] Add keyboard accelerators for the normal and HTML tabs in the comments editor --- src/calibre/gui2/comments_editor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index 11d723275c..689f041b70 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -652,8 +652,8 @@ class Editor(QWidget): # {{{ tb.addWidget(self.toolbar3) l.addWidget(self.editor) self._layout.addWidget(self.tabs) - self.tabs.addTab(self.wyswyg, _('Normal view')) - self.tabs.addTab(self.code_edit, _('HTML Source')) + self.tabs.addTab(self.wyswyg, _('N&ormal view')) + self.tabs.addTab(self.code_edit, _('&HTML Source')) self.tabs.currentChanged[int].connect(self.change_tab) self.highlighter = Highlighter(self.code_edit.document()) self.layout().setContentsMargins(0, 0, 0, 0)