Update channels.py

remove duplicate
This commit is contained in:
onyx-and-iris 2022-04-21 13:04:53 +01:00
parent acb345fb30
commit d3464fc8aa

View File

@ -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):