From 52b3084bee6b77ca31c61fb75cb7e81cad7dbcb0 Mon Sep 17 00:00:00 2001 From: Veronica Berglyd Olsen <1619840+vkbo@users.noreply.github.com> Date: Wed, 18 Sep 2024 22:12:39 +0200 Subject: [PATCH] Fix type annotation --- novelwriter/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/novelwriter/types.py b/novelwriter/types.py index f9f0ded8..40f22acf 100644 --- a/novelwriter/types.py +++ b/novelwriter/types.py @@ -133,7 +133,7 @@ FONT_WEIGHTS: dict[int, int] = { QFont.Weight.Black: 900, } -FONT_STYLE: dict[int, str] = { +FONT_STYLE: dict[QFont.Style, str] = { QFont.Style.StyleNormal: "normal", QFont.Style.StyleItalic: "italic", QFont.Style.StyleOblique: "oblique",