Skip to content

Commit e4acfb4

Browse files
authored
Fix manuscript tool font issue (#1863)
2 parents 2dbd3e2 + a8101c2 commit e4acfb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

novelwriter/tools/manuscript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ def setTextFont(self, family: str, size: int) -> None:
836836
font = QFont()
837837
font.setFamily(family)
838838
font.setPointSize(size)
839-
self.setFont(font)
839+
self.document().setDefaultFont(font)
840840
return
841841

842842
##

0 commit comments

Comments
 (0)