diff options
author | Ben Loftis <ben@glw.com> | 2012-11-28 17:07:35 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2012-11-28 17:07:35 +0000 |
commit | f77763020b3450ad68d7155b84f940bd53225950 (patch) | |
tree | c51c0f26f6240ee393216b80b68f4d4ac999805a /gtk2_ardour/editor_ops.cc | |
parent | 613021bff17b10b10c0924ed3d83bc202f1725c3 (diff) |
edit operations should depend on the existence of an explicit range, NOT the mouse mode. this produces less confusion to the user. For an edit (such as delete) the selection should be based on this priority: explicit range selection, ojbect (region) selection, and then implicit range ( i.e. mouse-to-marker)
git-svn-id: svn://localhost/ardour2/branches/3.0@13563 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 80afe57d76..eac60fd332 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -2725,7 +2725,7 @@ Editor::separate_region_from_selection () returns a single range. */ - if (mouse_mode == MouseRange && !selection->time.empty()) { + if (!selection->time.empty()) { separate_regions_between (selection->time); |