mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2024-11-24 13:50:54 +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.width = self.configuration["width"]
|
||||||
self.height = self.configuration["height"]
|
self.height = self.configuration["height"]
|
||||||
|
|
||||||
self.watch_pdirty()
|
|
||||||
|
|
||||||
# create labelframes
|
# create labelframes
|
||||||
if is_strip:
|
if is_strip:
|
||||||
self.strips = tuple(
|
self.strips = tuple(
|
||||||
@ -371,11 +369,7 @@ class ChannelFrame(ttk.Frame):
|
|||||||
self.columnconfigure(i, minsize=0)
|
self.columnconfigure(i, minsize=0)
|
||||||
labelframe.grid_remove()
|
labelframe.grid_remove()
|
||||||
|
|
||||||
for i, labelframe in enumerate(self.labelframes):
|
self.watch_pdirty()
|
||||||
labelframe.grid(row=0, column=i)
|
|
||||||
if not labelframe.cget("text"):
|
|
||||||
self.columnconfigure(i, minsize=0)
|
|
||||||
labelframe.grid_remove()
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def target(self):
|
def target(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user