From bb593277f65bb7c42fb91e34d52478c8035fe0df Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Mon, 1 Mar 2021 06:59:29 +0100 Subject: [PATCH] Invalidate the secondary CC knob on value changed --- plugins/editor/src/editor/Editor.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/editor/src/editor/Editor.cpp b/plugins/editor/src/editor/Editor.cpp index 9f6407ef..71ae9d20 100644 --- a/plugins/editor/src/editor/Editor.cpp +++ b/plugins/editor/src/editor/Editor.cpp @@ -1515,8 +1515,10 @@ void Editor::Impl::updateCCValue(unsigned cc, float value) if (SControlsPanel* panel = controlsPanel_) panel->setControlValue(cc, value); - if (CControl* other = getSecondaryCCControl(cc)) + if (CControl* other = getSecondaryCCControl(cc)) { other->setValue(value); + other->invalid(); + } } void Editor::Impl::updateCCDefaultValue(unsigned cc, float value)