mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
bc5ab8eb13
commit
4e902d18d0
@ -178,6 +178,10 @@ class EditorSettings(BasicSettings):
|
||||
tw.setMinimum(2), tw.setSuffix(_(' characters')), tw.setMaximum(20)
|
||||
l.addRow(_('Width of &tabs:'), tw)
|
||||
|
||||
self.tb = b = QPushButton(_('Change &templates'))
|
||||
l.addRow(_('Templates for new files:'), b)
|
||||
b.clicked.connect(lambda : TemplatesDialog(self).exec_())
|
||||
|
||||
lw = self('editor_line_wrap')
|
||||
lw.setText(_('&Wrap long lines in the editor'))
|
||||
l.addRow(lw)
|
||||
@ -201,10 +205,6 @@ class EditorSettings(BasicSettings):
|
||||
' time you open a HTML/CSS/etc. file for editing.'))
|
||||
l.addRow(lw)
|
||||
|
||||
self.tb = b = QPushButton(_('Change &templates'))
|
||||
l.addRow(_('Change the templates for creating new files:'), b)
|
||||
b.clicked.connect(lambda : TemplatesDialog(self).exec_())
|
||||
|
||||
lw = self('inline_spell_check')
|
||||
lw.setText(_('Show misspelled words underlined in the code view'))
|
||||
lw.setToolTip('<p>' + _(
|
||||
|
Loading…
x
Reference in New Issue
Block a user