aboutsummaryrefslogtreecommitdiff
path: root/music_sampler/actions/reset_wait.py
blob: 500bcca56ac8042c001426da6e6f48ab6722d18b (plain) (blame)
1
2
3
4
5
6
7
8
def run(action, wait_id=None, **kwargs):
    action.mapping.reset_wait(wait_id)

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