Skip to content

Commit

Permalink
Add a little messagebox if no subject is active when clicking an action
Browse files Browse the repository at this point in the history
  • Loading branch information
teekuningas committed Mar 15, 2024
1 parent de79f5e commit b817c2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions meggie/mainwindow/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ def handler_wrapper(checked):

subject = experiment.active_subject
if not subject:
messagebox(self, "You need to activate a subject first.")
return

data = self._get_data()
Expand Down

0 comments on commit b817c2c

Please sign in to comment.