diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-26 16:27:51 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2016-07-26 16:27:51 +0200 |
commit | c4f4f2a1d330d8e09021619bbb8dcaac4df0a602 (patch) | |
tree | 56f030600ad200632d0e9030c3b470dcb846215d /helpers/actions/stop_all_actions.py | |
parent | a1d7f30a1cafbfcf3a0a561fcab71ce6437a3d45 (diff) | |
download | MusicSampler-c4f4f2a1d330d8e09021619bbb8dcaac4df0a602.tar.gz MusicSampler-c4f4f2a1d330d8e09021619bbb8dcaac4df0a602.tar.zst MusicSampler-c4f4f2a1d330d8e09021619bbb8dcaac4df0a602.zip |
Move actions to separate files
Diffstat (limited to 'helpers/actions/stop_all_actions.py')
-rw-r--r-- | helpers/actions/stop_all_actions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/helpers/actions/stop_all_actions.py b/helpers/actions/stop_all_actions.py new file mode 100644 index 0000000..f3fc5fb --- /dev/null +++ b/helpers/actions/stop_all_actions.py | |||
@@ -0,0 +1,5 @@ | |||
1 | def run(action, **kwargs): | ||
2 | action.mapping.stop_all_running() | ||
3 | |||
4 | def description(action, **kwargs): | ||
5 | return "stopping all actions" | ||