From a6ca660d6118a786f53826e9ea93e7095aab8a4a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 22 Sep 2010 12:34:27 +0000 Subject: [PATCH] carl's patch for #3471 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7829 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 37f9968022..fd8e5d17ab 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -611,8 +611,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) { @@ -639,9 +639,9 @@ Editor::set_selected_regionview_from_click (bool press, Selection::Operation op, the this one and any selected ones. */ - if (!selection->selected (entered_regionview)) { + if (!selection->selected (clicked_regionview)) { - AudioTimeAxisView* atv = dynamic_cast (&entered_regionview->get_time_axis_view()); + AudioTimeAxisView* atv = dynamic_cast (&clicked_regionview->get_time_axis_view()); if (atv) {