Skip to content

Commit c5f4f40

Browse files
committed
New File resets unsaved changes
1 parent 56bf65c commit c5f4f40

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/petab_gui/controllers/mother_controller.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,7 @@ def new_file(self):
832832
continue
833833
controller.clear_table()
834834
self.view.plot_dock.plot_it()
835+
self.unsaved_changes_change(False)
835836

836837
def check_model(self):
837838
"""Check the consistency of the model. And log the results."""

0 commit comments

Comments
 (0)