Skip to content

Commit af8ba10

Browse files
New File resets unsaved changes (#177)
1 parent 4e539f1 commit af8ba10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)