From 52cfd8262703acb9a930d8d8ca2e3d2015a6514e Mon Sep 17 00:00:00 2001 From: Nick Moore Date: Fri, 26 Apr 2024 15:49:48 +1000 Subject: [PATCH] fix orphaned config frame issue --- countess/gui/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/countess/gui/main.py b/countess/gui/main.py index 8465b34..d08468a 100644 --- a/countess/gui/main.py +++ b/countess/gui/main.py @@ -468,6 +468,7 @@ def node_select(self, node): new_config_wrapper = ConfiguratorWrapper(self.main_subframe, node, self.logger, self.node_changed) if self.config_wrapper: self.main_subframe.replace_child(self.config_wrapper.frame, new_config_wrapper.frame) + self.config_wrapper.destroy() else: self.main_subframe.add_child(new_config_wrapper.frame, weight=4)