summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/automation_control.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc
index e0ebc00062..0d5c2ecc2d 100644
--- a/libs/ardour/automation_control.cc
+++ b/libs/ardour/automation_control.cc
@@ -155,7 +155,8 @@ AutomationControl::set_automation_state (AutoState as)
AutomationWatch::instance().add_automation_watch (shared_from_this());
} else if (as == Touch) {
if (alist()->empty()) {
- Control::set_double (val, _session.transport_frame(), true);
+ Control::set_double (val, _session.current_start_frame (), true);
+ Control::set_double (val, _session.current_end_frame (), true);
Changed (true, Controllable::NoGroup);
}
if (!touching()) {