Skip to content

Commit

Permalink
Fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
vkbo committed Sep 18, 2024
1 parent 70b05c9 commit 52b3084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion novelwriter/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
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",
Expand Down

0 comments on commit 52b3084

Please sign in to comment.