mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Comments editor: Fix shortcuts for bold/italic not working when toolbars are hidden
This commit is contained in:
parent
d01ebe91a2
commit
bf025726f9
@ -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'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user