Comments editor: Fix shortcuts for bold/italic not working when toolbars are hidden

This commit is contained in:
Kovid Goyal 2020-05-25 16:02:42 +05:30
parent d01ebe91a2
commit bf025726f9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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'):