From 4aaa10670caac5c705098cfe8619249109c0e590 Mon Sep 17 00:00:00 2001 From: oleting Date: Sun, 27 Dec 2020 16:34:13 +0100 Subject: [PATCH] + fix --- gui/gui.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/gui.py b/gui/gui.py index ec2260b..f7963f8 100644 --- a/gui/gui.py +++ b/gui/gui.py @@ -22,7 +22,7 @@ class Gui: def init_gui(self, theme: str): self.get_debug_mode(self.debug_mode) - font_filepath = None + sg.theme(theme) logging.debug(('Theme = ' + theme)) @@ -94,6 +94,8 @@ class Gui: def show_gui(self, window: sg.Window): + font_filepath = None + while True: event, values = window.read() if event == 'Exit' or event == sg.WIN_CLOSED: