From 124e54f01b62b0850de537dd506e19ff5e075706 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 4 Dec 2014 22:23:16 -0500 Subject: Fix crash when twiddling MIDI controllers (#6050). --- libs/ardour/automation_control.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'libs/ardour/automation_control.cc') diff --git a/libs/ardour/automation_control.cc b/libs/ardour/automation_control.cc index 72548f0b1f..bfa16f9e4a 100644 --- a/libs/ardour/automation_control.cc +++ b/libs/ardour/automation_control.cc @@ -106,6 +106,7 @@ AutomationControl::set_automation_state (AutoState as) void AutomationControl::set_automation_style (AutoStyle as) { + if (!_list) return; alist()->set_automation_style (as); } -- cgit v1.2.3