summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_actions.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-06 23:42:11 -0500
committerDavid Robillard <d@drobilla.net>2014-12-06 23:42:11 -0500
commitbfbb0f61782d7b79a8e67e66d8b483c00675a118 (patch)
treecb651a48d8f401083cead765646ef51cf8dc4a24 /gtk2_ardour/editor_actions.cc
parentf4a30e1f607c285064daeea280dca209624be167 (diff)
Add legatize and remove overlap MIDI operations.
We're going to need the ability to apply MIDI edit operations to a note/control selection soon...
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r--gtk2_ardour/editor_actions.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc
index e8125ef593..244b0b00e1 100644
--- a/gtk2_ardour/editor_actions.cc
+++ b/gtk2_ardour/editor_actions.cc
@@ -1953,6 +1953,8 @@ Editor::register_region_actions ()
);
reg_sens (_region_actions, "quantize-region", _("Quantize..."), sigc::mem_fun (*this, &Editor::quantize_region));
+ reg_sens (_region_actions, "legatize-region", _("Legatize"), sigc::bind(sigc::mem_fun (*this, &Editor::legatize_region), false));
+ reg_sens (_region_actions, "remove-overlap", _("Remove Overlap"), sigc::bind(sigc::mem_fun (*this, &Editor::legatize_region), true));
reg_sens (_region_actions, "insert-patch-change", _("Insert Patch Change..."), sigc::bind (sigc::mem_fun (*this, &Editor::insert_patch_change), false));
reg_sens (_region_actions, "insert-patch-change-context", _("Insert Patch Change..."), sigc::bind (sigc::mem_fun (*this, &Editor::insert_patch_change), true));
reg_sens (_region_actions, "fork-region", _("Unlink from other copies"), sigc::mem_fun (*this, &Editor::fork_region));