From c5f4f4054f64178844e58ba1459ae1382daa8d84 Mon Sep 17 00:00:00 2001 From: PaulJonasJost Date: Tue, 23 Sep 2025 11:17:22 +0200 Subject: [PATCH] New File resets unsaved changes --- src/petab_gui/controllers/mother_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/petab_gui/controllers/mother_controller.py b/src/petab_gui/controllers/mother_controller.py index a1c0d2a..0d44aed 100644 --- a/src/petab_gui/controllers/mother_controller.py +++ b/src/petab_gui/controllers/mother_controller.py @@ -832,6 +832,7 @@ def new_file(self): continue controller.clear_table() self.view.plot_dock.plot_it() + self.unsaved_changes_change(False) def check_model(self): """Check the consistency of the model. And log the results."""