mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit book: Fix non breaking spaces in snippets being converted to normal spaces. Fixes #1929827 [snippets do not accept non breaking spaces](https://bugs.launchpad.net/calibre/+bug/1929827)
This commit is contained in:
parent
3136eac5ff
commit
5b4d4e2cc2
@ -481,7 +481,7 @@ class EditSnippet(QWidget):
|
|||||||
t.setPlaceholderText(_('The text used to trigger this snippet'))
|
t.setPlaceholderText(_('The text used to trigger this snippet'))
|
||||||
add_row(_('Tri&gger:'), t)
|
add_row(_('Tri&gger:'), t)
|
||||||
|
|
||||||
self.template = t = QPlainTextEdit(self)
|
self.template = t = PlainTextEdit(self)
|
||||||
la.setBuddy(t)
|
la.setBuddy(t)
|
||||||
add_row(_('&Template:'), t)
|
add_row(_('&Template:'), t)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user