diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-16 21:21:11 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-16 21:21:45 +0200 |
commit | d34bd9e6a04bcf9093a2a4864afce32f7db441bb (patch) | |
tree | e4b5c2a2f7ddfc04d1e6782a5bea4c1ee88718ac /gtk2_ardour/automation_controller.cc | |
parent | 8d8717800d79fe77ff1c2f7d3957a5285d4ce263 (diff) |
fix midi automation sliders
Allow controls to work without a list. see also 34c1465 and b469cd2
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 1 |
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; |