summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r--gtk2_ardour/automation_controller.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc
index fbc5066c43..3174980a7b 100644
--- a/gtk2_ardour/automation_controller.cc
+++ b/gtk2_ardour/automation_controller.cc
@@ -120,6 +120,7 @@ AutomationController::start_touch()
void
AutomationController::end_touch ()
{
+ if (!_controllable->alist()) return;
if (_controllable->automation_state() == Touch) {
bool mark = false;