diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-22 16:26:08 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-09-27 14:59:31 -0500 |
commit | 7f31a40932a6d36772dfece943c252081ef1882f (patch) | |
tree | 21adec7c2c7935cfd21f6df4e1786705f3177420 /gtk2_ardour/editor_actions.cc | |
parent | 9c2a517cb0a71dc2cfce07b2a7a19a0e56848c48 (diff) |
add "quantize" action for control surface access
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index aacb760e14..b493529b24 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -748,6 +748,11 @@ Editor::register_actions () myactions.register_action (editor_actions, X_("toggle-midi-input-active"), _("Toggle MIDI Input Active for Editor-Selected Tracks/Busses"), sigc::bind (sigc::mem_fun (*this, &Editor::toggle_midi_input_active), false)); + + + /* MIDI stuff */ + reg_sens (editor_actions, "quantize", _("Quantize"), sigc::mem_fun (*this, &Editor::quantize_region)); + } void @@ -1825,7 +1830,7 @@ Editor::register_region_actions () ); /* Duplicate selected regions */ - reg_sens (_region_actions, "duplicate-region", _("Duplicate"), sigc::bind (sigc::mem_fun (*this, &Editor::duplicate_range), false)); + reg_sens (_region_actions, "duplicate-region", _("Duplicate"), sigc::bind (sigc::mem_fun (*this, &Editor::duplicate_regions), 1)); /* Open the dialogue to duplicate selected regions multiple times */ reg_sens ( |