diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc index 4196409692..6eaceba754 100644 --- a/gtk2_ardour/gain_meter.cc +++ b/gtk2_ardour/gain_meter.cc @@ -305,9 +305,7 @@ GainMeterBase::set_gain_astate (AutoState as) ChangeGainAutomationState (as); return; } - if (_amp) { - _amp->set_parameter_automation_state (Evoral::Parameter (GainAutomation), as); - } else if (_control) { + if (_control) { _control->set_automation_state (as); _session->set_dirty (); }