From 2e7e2d2658eb992993425204f76ae508d9d26ded Mon Sep 17 00:00:00 2001 From: "Julien \"_FrnchFrgg_\" RIVAUD" Date: Thu, 25 Aug 2016 19:20:17 +0200 Subject: [PATCH] Fix astate setting for combo parameters when setting all astate Don't try to be smart when chosing which parameters need their automation updated but rather trust the list that was populated at creation time when all relevant information had been gathered. --- gtk2_ardour/generic_pluginui.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index 4e0492999a..a8dfb14181 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -987,9 +987,7 @@ void GenericPluginUI::set_all_automation (AutoState as) { for (vector::iterator i = input_controls_with_automation.begin(); i != input_controls_with_automation.end(); ++i) { - if ((*i)->controller || (*i)->button) { - set_automation_state (as, (*i)); - } + set_automation_state (as, (*i)); } }