From 4ce288e47403015a44cfa8a650add56e3fa2c9a6 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Thu, 14 Apr 2022 01:19:08 +0100 Subject: [PATCH] Update app.py set _base_vals after merging/loading defaults --- vmcompact/app.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vmcompact/app.py b/vmcompact/app.py index 1b8d009..7c9b68d 100644 --- a/vmcompact/app.py +++ b/vmcompact/app.py @@ -53,13 +53,13 @@ class App(tk.Tk): } if configuration: self.configuration = defaults | self.configuration - _base_vals.themes_enabled = self.configuration["theme"]["enabled"] - _base_vals.extends_horizontal = self.configuration["extends"][ - "extends_horizontal" - ] - _base_vals.submixes = self.configuration["submixes"]["default"] else: configuration["app"] = defaults + _base_vals.themes_enabled = self.configuration["theme"]["enabled"] + _base_vals.extends_horizontal = self.configuration["extends"][ + "extends_horizontal" + ] + _base_vals.submixes = self.configuration["submixes"]["default"] # create menus self.menus = Menus(self, vmr) self.styletable = ttk.Style()