mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-15 17:40:52 +00:00
now using event property setters.
This commit is contained in:
parent
732368a65b
commit
3f306ddf62
@ -34,9 +34,8 @@ class App(tk.Tk):
|
||||
super().__init__()
|
||||
|
||||
self._vmr = vmr
|
||||
self._vmr.event.add("ldirty")
|
||||
self._vmr.event.remove("mdirty")
|
||||
self._vmr.event.remove("midi")
|
||||
self._vmr.event.ldirty = True
|
||||
self._vmr.event.remove(["mdirty", "midi"])
|
||||
icon_path = Path(__file__).parent.resolve() / "img" / "cat.ico"
|
||||
if icon_path.is_file():
|
||||
self.iconbitmap(str(icon_path))
|
||||
|
@ -321,7 +321,7 @@ class Menus(tk.Menu):
|
||||
self.after(1, self.enable_vban_menus)
|
||||
return
|
||||
self.menu_teardown(i)
|
||||
self.vban.event.add("ldirty")
|
||||
self.vban.event.ldirty = True
|
||||
# destroy the current App frames
|
||||
self.parent._destroy_top_level_frames()
|
||||
_base_values.vban_connected = True
|
||||
|
Loading…
Reference in New Issue
Block a user