From 82e8b510ca6b512eb1cbbcb5d463cbef4f7b0077 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby <pierre-antoine.rouby@inrae.fr> Date: Tue, 13 Feb 2024 11:46:06 +0100 Subject: [PATCH] Pamhyr: Close sub windows at model close. --- src/View/MainWindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/View/MainWindow.py b/src/View/MainWindow.py index 1d8cbee4..7a893d4f 100644 --- a/src/View/MainWindow.py +++ b/src/View/MainWindow.py @@ -371,6 +371,8 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit): self.conf.set_close_correctly() self.set_title() + self._close_sub_window() + def update_enable_action(self): """Update status of action componante -- GitLab