aboutsummaryrefslogblamecommitdiff
path: root/music_sampler/actions/pause_wait.py
blob: e4ab6ea4e443ee625644552cddc2ad66aafc7777 (plain) (tree)
1
2
3
4
5
6
7
8







                                                         
def run(action, wait_id=None, **kwargs):
    action.mapping.pause_wait(wait_id)

def description(action, wait_id=None, **kwargs):
    if wait_id is None:
        return _("pause all waits")
    else:
        return _("pause wait with id {}").format(wait_id)