summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_controller.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-03-07 17:11:11 +0100
committerRobin Gareus <robin@gareus.org>2016-03-07 17:11:47 +0100
commit47026cac9b7fd3ab1216e2b8261bbca5040ca37d (patch)
treedf666edd8cd520914a734242958a3a3fe34408a5 /gtk2_ardour/automation_controller.cc
parentbb38d3db4db6c48eb604d0222869e8bbd7a04873 (diff)
fix stuck touch mode
previously the GUI locked out control surfaces (touch was never released).
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r--gtk2_ardour/automation_controller.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc
index bab1a80b71..b598f44f94 100644
--- a/gtk2_ardour/automation_controller.cc
+++ b/gtk2_ardour/automation_controller.cc
@@ -189,6 +189,8 @@ AutomationController::end_touch ()
}
_controllable->stop_touch (mark, when);
+ } else {
+ _controllable->stop_touch (false, _controllable->session().transport_frame());
}
}