From e04d2376740a79a792275afa971e0ad38b72dddb Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Thu, 9 Mar 2017 11:51:00 +1000 Subject: [PATCH] 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 --- gtk2_ardour/editor_actions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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_));