Skip to content

Commit

Permalink
wxGUI: font size Python 3.10 fix (#2036)
Browse files Browse the repository at this point in the history
  • Loading branch information
petrasovaa committed Dec 26, 2021
1 parent 1ebd605 commit 886cb6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/wxpython/gui_core/goutput.py
Expand Up @@ -621,7 +621,7 @@ def SetStyle(self):
typesize = UserSettings.Get(group="appearance", key="outputfont", subkey="size")
if typesize is None or int(typesize) <= 0:
typesize = 10
typesize = float(typesize)
typesize = int(float(typesize))

fontInfo = wx.FontInfo(typesize)
fontInfo.FaceName(typeface)
Expand Down

0 comments on commit 886cb6e

Please sign in to comment.