diff options
author | Ben Loftis <ben@glw.com> | 2012-11-26 23:07:21 +0000 |
---|---|---|
committer | Ben Loftis <ben@glw.com> | 2012-11-26 23:07:21 +0000 |
commit | 62c8963170b13548eb69d1e5026e2e887e39e03e (patch) | |
tree | f2ecee27bfe831f8c9696380a3036c19e2c8a074 /gtk2_ardour/editor_selection.cc | |
parent | e63da83c530f8c2f81bfba4ec6d77c7adad8a50d (diff) |
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
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 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()); } } |