Skip to content

Commit

Permalink
Remember to save experiment settings after creating subject from samp…
Browse files Browse the repository at this point in the history
…le data
  • Loading branch information
teekuningas committed Mar 25, 2024
1 parent 82bddd2 commit e9a6561
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions meggie/mainwindow/dialogs/addSubjectDialogMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ def _create_subject():
except Exception:
logging.getLogger("ui_logger").exception("")

try:
self.parent.experiment.save_experiment_settings()
except Exception as exc:
exc_messagebox(self, exc)
return

self.parent.initialize_ui()
self.close()

Expand Down

0 comments on commit e9a6561

Please sign in to comment.