Skip to content

Commit

Permalink
Do not load font from state files
Browse files Browse the repository at this point in the history
We only load the font size from QSettings, not from state files.

Signed-off-by: Patrick Avery <[email protected]>
  • Loading branch information
psavery committed Oct 3, 2023
1 parent e168e51 commit 61c3b1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hexrd/ui/hexrd_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,8 @@ def load_from_state(self, state):
'show_all_colormaps',
'limited_cmaps_list',
'default_cmap',
# Ignore the font size when loading from state
'font_size',
]

try:
Expand Down

0 comments on commit 61c3b1f

Please sign in to comment.