diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 10:12:51 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-20 10:23:49 -0400 |
commit | ac008dac028cf86970c2b2604480beb87880e578 (patch) | |
tree | 8288774ce6ce39e66bb22f366b9820fa90cd0179 /gtk2_ardour/plugin_ui.cc | |
parent | f806f059b3c229004cfbac50234062333fc38229 (diff) |
Clean up generic and LV2 plugin GUI to deal with ParameterChanged(Externally) alteration
Diffstat (limited to 'gtk2_ardour/plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/plugin_ui.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gtk2_ardour/plugin_ui.cc b/gtk2_ardour/plugin_ui.cc index 37c01462b2..19dbee422f 100644 --- a/gtk2_ardour/plugin_ui.cc +++ b/gtk2_ardour/plugin_ui.cc @@ -484,7 +484,7 @@ PlugUIBase::PlugUIBase (boost::shared_ptr<PluginInsert> pi) plugin->PresetAdded.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::preset_added_or_removed, this), gui_context ()); plugin->PresetRemoved.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::preset_added_or_removed, this), gui_context ()); plugin->PresetLoaded.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::update_preset, this), gui_context ()); - plugin->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::parameter_changed, this, _1, _2), gui_context ()); + plugin->PresetDirty.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::update_preset_modified, this), gui_context ()); insert->AutomationStateChanged.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::automation_state_changed, this), gui_context()); @@ -814,12 +814,6 @@ PlugUIBase::update_preset_modified () } void -PlugUIBase::parameter_changed (uint32_t, float) -{ - update_preset_modified (); -} - -void PlugUIBase::preset_added_or_removed () { /* Update both the list and the currently-displayed preset */ |