mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-21 12:20:56 +00:00
Update app.py
set _base_vals after merging/loading defaults
This commit is contained in:
parent
b223044ddf
commit
4ce288e474
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user