diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2017-03-09 11:51:00 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2017-03-09 11:51:00 +1000 |
commit | e04d2376740a79a792275afa971e0ad38b72dddb (patch) | |
tree | 799eed66fa27569e020e471560c6b6a041a69d9e /gtk2_ardour/editor_actions.cc | |
parent | b9ff329e36e25a918f5099d0b423bbd181c5bf97 (diff) |
Allow Edit -> Crop to work with edit point set to mouse
Crop is currently only dependent on having a valid time/range selection.
Resolves : #7278
Diffstat (limited to 'gtk2_ardour/editor_actions.cc')
-rw-r--r-- | gtk2_ardour/editor_actions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_actions.cc b/gtk2_ardour/editor_actions.cc index d9645b22ec..da082a847a 100644 --- a/gtk2_ardour/editor_actions.cc +++ b/gtk2_ardour/editor_actions.cc @@ -356,7 +356,7 @@ Editor::register_actions () act = reg_sens (editor_actions, "separate-from-loop", _("Separate Using Loop Range"), sigc::mem_fun(*this, &Editor::separate_region_from_loop)); act = reg_sens (editor_actions, "editor-crop", _("Crop"), sigc::mem_fun(*this, &Editor::crop_region_to_selection)); - ActionManager::mouse_edit_point_requires_canvas_actions.push_back (act); + ActionManager::time_selection_sensitive_actions.push_back (act); reg_sens (editor_actions, "editor-cut", _("Cut"), sigc::mem_fun(*this, &Editor::cut)); reg_sens (editor_actions, "editor-delete", _("Delete"), sigc::mem_fun(*this, &Editor::delete_)); |