mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-22 04:40:55 +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:
|
if configuration:
|
||||||
self.configuration = defaults | self.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:
|
else:
|
||||||
configuration["app"] = defaults
|
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
|
# create menus
|
||||||
self.menus = Menus(self, vmr)
|
self.menus = Menus(self, vmr)
|
||||||
self.styletable = ttk.Style()
|
self.styletable = ttk.Style()
|
||||||
|
Loading…
Reference in New Issue
Block a user