From fd6c346467a8c34ed958b48955e6dfd4dea47949 Mon Sep 17 00:00:00 2001 From: onyx-and-iris <75868496+onyx-and-iris@users.noreply.github.com> Date: Sat, 16 Jul 2022 22:14:02 +0100 Subject: [PATCH] bug fixed in submixframe in call to grid_info() --- vmcompact/gainlayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmcompact/gainlayer.py b/vmcompact/gainlayer.py index 4fbcec8..393125b 100644 --- a/vmcompact/gainlayer.py +++ b/vmcompact/gainlayer.py @@ -192,7 +192,7 @@ class SubMixFrame(ttk.Frame): if parent.bus_frame: parent.bus_frame.grid_remove() else: - if parent.bus_frame: + if parent.bus_frame and parent.bus_frame.grid_info(): self.grid( row=parent.bus_frame.grid_info()["row"], column=0, sticky=(tk.W) )