mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add keyboard accelerators for the normal and HTML tabs in the comments editor
This commit is contained in:
parent
6eff053a6b
commit
1bd6c935e1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user