From defaf6c1eefac2931d3641040371a86780ed821d Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Thu, 9 Jan 2025 22:15:20 +0100 Subject: [PATCH] Fix constant in error handler --- novelwriter/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novelwriter/error.py b/novelwriter/error.py index 78a1284e..bdca704b 100644 --- a/novelwriter/error.py +++ b/novelwriter/error.py @@ -76,7 +76,7 @@ class NWErrorMessage(QDialog): font = QFont() font.setPointSize(round(0.9*self.font().pointSize())) - font.setFamily(QFontDatabase.systemFont(QFontDatabase.FixedFont).family()) + font.setFamily(QFontDatabase.systemFont(QFontDatabase.SystemFont.FixedFont).family()) self.msgBody = QPlainTextEdit() self.msgBody.setFont(font)