From d3464fc8aa26fec3870182c6c69e1aed1beceb55 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Thu, 21 Apr 2022 13:04:53 +0100 Subject: [PATCH] Update channels.py remove duplicate --- vmcompact/channels.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vmcompact/channels.py b/vmcompact/channels.py index a8fd929..2fa268b 100644 --- a/vmcompact/channels.py +++ b/vmcompact/channels.py @@ -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):