fix midi automation sliders

Allow controls to work without a list. see also 34c1465 and b469cd2
This commit is contained in:
Robin Gareus 2014-10-16 21:21:11 +02:00
parent 8d8717800d
commit d34bd9e6a0
3 changed files with 14 additions and 9 deletions

View file

@ -120,6 +120,7 @@ AutomationController::start_touch()
void
AutomationController::end_touch ()
{
if (!_controllable->alist()) return;
if (_controllable->automation_state() == Touch) {
bool mark = false;