From bf025726f9c89e3f1e84d6fe919b794f29c88d14 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 25 May 2020 16:02:42 +0530 Subject: [PATCH] Comments editor: Fix shortcuts for bold/italic not working when toolbars are hidden --- src/calibre/gui2/comments_editor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/comments_editor.py b/src/calibre/gui2/comments_editor.py index 9ef8b468ce..c1a2f48881 100644 --- a/src/calibre/gui2/comments_editor.py +++ b/src/calibre/gui2/comments_editor.py @@ -1114,6 +1114,7 @@ class Editor(QWidget): # {{{ for x in ('bold', 'italic', 'underline', 'strikethrough'): ac = getattr(self.editor, 'action_'+x) self.toolbar3.addAction(ac) + self.addAction(ac) self.toolbar3.addSeparator() for x in ('left', 'center', 'right', 'justified'):