13
0

tweak Auto Play behavior: dont auto-play a range selection if the auto-play option is on; but note that this is still possible if both auto-play and follow-edits is on

git-svn-id: svn://localhost/ardour2/branches/3.0@13562 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Ben Loftis 2012-11-28 17:03:39 +00:00
parent 8cbd5a8bec
commit 613021bff1

View File

@ -3601,10 +3601,10 @@ SelectionDrag::finished (GdkEvent* event, bool movement_occurred)
/* XXX what if its a music time selection? */
if (s) {
if ((s->config.get_auto_play() || (s->get_play_range() && s->transport_rolling()))) {
if ( s->get_play_range() && s->transport_rolling() ) {
s->request_play_range (&_editor->selection->time, true);
} else {
if (Config->get_always_play_range()) {
if (Config->get_always_play_range() && !s->transport_rolling()) {
s->request_locate (_editor->get_selection().time.start());
}
}