From 9c652e196dd2c16a471fdda1fc674801460c30e5 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 24 Oct 2017 10:10:42 +0200 Subject: [PATCH] Fix sync if ccNum is changed by modifying the text --- src/core/MidiCCToCV.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/MidiCCToCV.cpp b/src/core/MidiCCToCV.cpp index e6337c92..c25101f3 100644 --- a/src/core/MidiCCToCV.cpp +++ b/src/core/MidiCCToCV.cpp @@ -214,7 +214,7 @@ void CCTextField::onTextChange() { return; } - if (!module->ccNumInited[num] && *ccNum != std::stoi(text)) { + if (!module->ccNumInited[num]) { module->ccSync[num] = 0; module->ccSyncFirst[num] = true; }