diff --git a/main.py b/main.py index 477656c..d7de1a4 100644 --- a/main.py +++ b/main.py @@ -215,7 +215,7 @@ class App(Ctk.CTk): return ( (self.open_folder is not None and self.open_folder.winfo_ismapped()) or (self.create_folder is not None and self.create_folder.winfo_ismapped()) or - (self.Switch_folder is not None and self.Switch_folder.winfo_ismapped() and self.last_frame != self.buttons_frame) + (self.Switch_folder is not None and self.Switch_folder.winfo_ismapped() and self.last_opened_labeling_frame == self.labeling) ) def switch_to_labeling(self):