mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2026-04-18 05:23:31 +00:00
updates to bus mode cache
add a separate bus mode cache for each interface. add property objects to config frame for setting/getting from bus mode cache. update function update_bus_modes to fit changes to bus mode cache
This commit is contained in:
@@ -394,9 +394,9 @@ class ChannelFrame(ttk.Frame):
|
||||
|
||||
def update_bus_modes(self):
|
||||
[
|
||||
self._parent.bus_modes[i].set(
|
||||
labelframe.config_frame.bus_mode_current.get()
|
||||
)
|
||||
self._parent.bus_modes_cache[
|
||||
"vban" if _base_vals.vban_connected else "vmr"
|
||||
][i].set(labelframe.config_frame.bus_mode)
|
||||
for i, labelframe in enumerate(self.labelframes)
|
||||
if labelframe is not None and labelframe.config_frame
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user