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: