Fix default font in editor
This commit is contained in:
@@ -349,6 +349,7 @@ class GuiDocEditor(QPlainTextEdit):
|
|||||||
|
|
||||||
# Set the font. See issues #1862 and #1875.
|
# Set the font. See issues #1862 and #1875.
|
||||||
self.setFont(CONFIG.textFont)
|
self.setFont(CONFIG.textFont)
|
||||||
|
self._qDocument.setDefaultFont(CONFIG.textFont)
|
||||||
self.docHeader.updateFont()
|
self.docHeader.updateFont()
|
||||||
self.docFooter.updateFont()
|
self.docFooter.updateFont()
|
||||||
self.docSearch.updateFont()
|
self.docSearch.updateFont()
|
||||||
|
|||||||
Reference in New Issue
Block a user