From 84631883360054ee2eae291115b67b5717a85cc3 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Tue, 26 Nov 2024 01:06:47 +0100 Subject: [PATCH] Fix default font in editor --- novelwriter/gui/doceditor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/novelwriter/gui/doceditor.py b/novelwriter/gui/doceditor.py index a77869ca..83609ffa 100644 --- a/novelwriter/gui/doceditor.py +++ b/novelwriter/gui/doceditor.py @@ -349,6 +349,7 @@ class GuiDocEditor(QPlainTextEdit): # Set the font. See issues #1862 and #1875. self.setFont(CONFIG.textFont) + self._qDocument.setDefaultFont(CONFIG.textFont) self.docHeader.updateFont() self.docFooter.updateFont() self.docSearch.updateFont()