From d4aaa9c10cd21ef7e1b0f5509963b57c2465302b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 22 Sep 2010 12:37:48 +0000 Subject: [PATCH] carl's patch for #3471 applied to 3.X git-svn-id: svn://localhost/ardour2/branches/3.0@7830 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_selection.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index 5c0a300322..bcd2aab6f0 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -661,8 +661,8 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op, */ - first_frame = entered_regionview->region()->position(); - last_frame = entered_regionview->region()->last_frame(); + first_frame = clicked_regionview->region()->position(); + last_frame = clicked_regionview->region()->last_frame(); for (RegionSelection::iterator i = selection->regions.begin(); i != selection->regions.end(); ++i) { if ((*i)->region()->position() < first_frame) { @@ -696,9 +696,9 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op, any selected ones. */ - if (!selection->selected (entered_regionview)) { + if (!selection->selected (clicked_regionview)) { - RouteTimeAxisView* rtv = dynamic_cast (&entered_regionview->get_time_axis_view()); + RouteTimeAxisView* rtv = dynamic_cast (&clicked_regionview->get_time_axis_view()); if (rtv) {