diff options
author | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-25 19:20:17 +0200 |
---|---|---|
committer | Julien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr> | 2016-08-25 19:23:49 +0200 |
commit | 2e7e2d2658eb992993425204f76ae508d9d26ded (patch) | |
tree | a4435e47a671eef9586f784936f73cba8384e224 /gtk2_ardour/generic_pluginui.cc | |
parent | 3921e33c2a6c5ae5d745a8313ad9981b55a5aa5c (diff) |
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.
Diffstat (limited to 'gtk2_ardour/generic_pluginui.cc')
-rw-r--r-- | gtk2_ardour/generic_pluginui.cc | 4 |
1 files changed, 1 insertions, 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<ControlUI*>::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)); } } |