mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-24 05:40:53 +00:00
Update channels.py
remove duplicate
This commit is contained in:
parent
acb345fb30
commit
d3464fc8aa
@ -346,8 +346,6 @@ class ChannelFrame(ttk.Frame):
|
||||
self.width = self.configuration["width"]
|
||||
self.height = self.configuration["height"]
|
||||
|
||||
self.watch_pdirty()
|
||||
|
||||
# create labelframes
|
||||
if is_strip:
|
||||
self.strips = tuple(
|
||||
@ -371,11 +369,7 @@ class ChannelFrame(ttk.Frame):
|
||||
self.columnconfigure(i, minsize=0)
|
||||
labelframe.grid_remove()
|
||||
|
||||
for i, labelframe in enumerate(self.labelframes):
|
||||
labelframe.grid(row=0, column=i)
|
||||
if not labelframe.cget("text"):
|
||||
self.columnconfigure(i, minsize=0)
|
||||
labelframe.grid_remove()
|
||||
self.watch_pdirty()
|
||||
|
||||
@property
|
||||
def target(self):
|
||||
|
Loading…
Reference in New Issue
Block a user