We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fbace9 + 933ab13 commit ec4cec1Copy full SHA for ec4cec1
src/navigate/controller/sub_controllers/menu_controller.py
@@ -708,10 +708,11 @@ def save_experiment(self, *args):
708
709
Updates model.experiment and saves it to file.
710
"""
711
- if not self.parent_controller.update_experiment_setting():
+ warning_message = self.parent_controller.update_experiment_setting()
712
+ if warning_message:
713
messagebox.showerror(
714
title="Warning",
- message="Incorrect/missing settings. "
715
+ message=f"Incorrect/missing settings: {warning_message}\n"
716
"Cannot save current experiment file.",
717
)
718
return
0 commit comments