From 61c3b1f775ba6bdaff1571cdc5fa87fea7bc4bc9 Mon Sep 17 00:00:00 2001 From: Patrick Avery Date: Tue, 3 Oct 2023 12:31:20 -0500 Subject: [PATCH] Do not load font from state files We only load the font size from QSettings, not from state files. Signed-off-by: Patrick Avery --- hexrd/ui/hexrd_config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hexrd/ui/hexrd_config.py b/hexrd/ui/hexrd_config.py index 734ba8256..3943ca804 100644 --- a/hexrd/ui/hexrd_config.py +++ b/hexrd/ui/hexrd_config.py @@ -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: