diff --git a/pyAmakIHM/classes/controleur.py b/pyAmakIHM/classes/controleur.py index 0e0b374a40e3cd98b0a32e4cac801cf875bf93ae..86134f09820d80064f227712c4376eb00d669902 100644 --- a/pyAmakIHM/classes/controleur.py +++ b/pyAmakIHM/classes/controleur.py @@ -241,7 +241,6 @@ class Controleur: self.__scheduler.save() def updateCycle(self) -> None: - self.updateWindow() try: self.updateWindow() except: diff --git a/pyAmakIHM/classes/fenetre.py b/pyAmakIHM/classes/fenetre.py index bd374d06fbc3c2327c151cd4a537cd9be77b40bf..bd424056db6f46c814b285c667f50a01d25721b3 100644 --- a/pyAmakIHM/classes/fenetre.py +++ b/pyAmakIHM/classes/fenetre.py @@ -289,10 +289,14 @@ class Fenetre : """ Notify the controleur to stop the app and close the window """ + def on_closing(self) -> None: self.__observer.updateClosing() for pan in self.__panelGraphiques: pan.quit() + self.__panelVue.quit() + self.__panelCommandes.quit() + self.__panel_log.quit() self.__root.quit() """