mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-15 17:40:52 +00:00
Update menu.py
ensure submix menu state is set if switching kind on vban disconnect
This commit is contained in:
parent
a8b07ee8de
commit
acb345fb30
@ -302,6 +302,9 @@ class Menus(tk.Menu):
|
||||
target_menu = getattr(self, f"menu_vban_{i+1}")
|
||||
target_menu.entryconfig(0, state="normal")
|
||||
target_menu.entryconfig(1, state="disabled")
|
||||
self.menubar.entryconfig(
|
||||
4, state=f"{'normal' if kind.name == 'Potato' else 'disabled'}"
|
||||
)
|
||||
|
||||
self.after(15000, self.enable_vban_menus)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user