gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit c62e77f401bbc8f709a2a9a92642e803b0a2af15
parent 9e53457528ba94a9c3483ced394c025baf2ebb8d
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 13 Aug 2024 17:42:16 +0200

fix parameter set twice when selecting a combobox entry

Diffstat:
Msource/jucePluginLib/parameterbinding.cpp | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/source/jucePluginLib/parameterbinding.cpp b/source/jucePluginLib/parameterbinding.cpp @@ -169,7 +169,10 @@ namespace pluginLib { v->setUnnormalizedValueNotifyingHost(id - 1, Parameter::Origin::Ui); } - v->getValueObject().setValue(id - 1); + else + { + v->setUnnormalizedValue(id - 1, Parameter::Origin::Ui); + } }; const auto listenerId = v->onValueChanged.addListener([this, &_combo](pluginLib::Parameter* v)