From 62c8963170b13548eb69d1e5026e2e887e39e03e Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 26 Nov 2012 23:07:21 +0000 Subject: region selections and moves should have optional preroll when playhead follows edits git-svn-id: svn://localhost/ardour2/branches/3.0@13552 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_selection.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/editor_selection.cc') diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index d299b2fd9e..3f88ddbce5 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -1296,8 +1296,8 @@ Editor::region_selection_changed () sensitize_all_region_actions (true); } - if (_session && Config->get_always_play_range() && !_session->transport_rolling() && !selection->regions.empty()) { - _session->request_locate (selection->regions.start()); + if (_session && !_session->transport_rolling() && !selection->regions.empty()) { + maybe_locate_with_edit_preroll (selection->regions.start()); } } -- cgit v1.2.3