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
This commit is contained in:
@@ -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_));
|
||||
|
||||
Reference in New Issue
Block a user