diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 2f85909ea1..d26777f933 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -286,7 +286,9 @@ Editor::move_range_selection_start_or_end_to_region_boundary (bool move_end, boo if (dir > 0 || pos > 0) { pos += dir; } + TrackViewList track_views = selection->time.tracks_in_range.filter_to_unique_playlists(); + sort_track_selection (track_views); framepos_t const target = find_next_region_boundary (pos, dir, track_views); if (target < 0) { @@ -2854,7 +2856,7 @@ Editor::separate_regions_between (const TimeSelection& ts) boost::shared_ptr playlist; RegionSelection new_selection; - TrackViewList tmptracks = get_tracks_for_range_action (); + TrackViewList tmptracks = selection->time.tracks_in_range.filter_to_unique_playlists (); sort_track_selection (tmptracks); for (TrackSelection::iterator i = tmptracks.begin(); i != tmptracks.end(); ++i) { @@ -2921,8 +2923,7 @@ Editor::separate_regions_between (const TimeSelection& ts) } if (in_command) { -// selection->set (new_selection); - + selection->set (new_selection); commit_reversible_command (); } } @@ -3753,7 +3754,7 @@ Editor::bounce_range_selection (bool replace, bool enable_processing) } TrackViewList views = selection->time.tracks_in_range.filter_to_unique_playlists(); - + sort_track_selection (views); for (TrackViewList::iterator i = views.begin(); i != views.end(); ++i) { if (enable_processing) {