diff options
Diffstat (limited to 'gtk2_ardour/editor_selection.cc')
-rw-r--r-- | gtk2_ardour/editor_selection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 3423878190..e73de2bc51 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1418,12 +1418,12 @@ Editor::deselect_all () selection->clear (); } -void +long Editor::select_range_around_region (RegionView* rv) { selection->set (&rv->get_time_axis_view()); selection->time.clear (); boost::shared_ptr<Region> r = rv->region (); - selection->set (r->position(), r->position() + r->length()); + return selection->set (r->position(), r->position() + r->length()); } |