Have editor respond to 'CC' EditId
This commit is contained in:
parent
803c4f296e
commit
62919343c3
1 changed files with 3 additions and 0 deletions
|
|
@ -476,6 +476,9 @@ void Editor::Impl::uiReceiveValue(EditId id, const EditValue& v)
|
||||||
else if (editIdIsKeyswitchLabel(id)) {
|
else if (editIdIsKeyswitchLabel(id)) {
|
||||||
updateSWLastLabel(keyswitchLabelForEditId(id), v.to_string().c_str());
|
updateSWLastLabel(keyswitchLabelForEditId(id), v.to_string().c_str());
|
||||||
}
|
}
|
||||||
|
else if (editIdIsCC(id)) {
|
||||||
|
updateCCValue(unsigned(ccForEditId(id)), v.to_float());
|
||||||
|
}
|
||||||
else if (editIdIsCCUsed(id)) {
|
else if (editIdIsCCUsed(id)) {
|
||||||
updateCCUsed(ccUsedForEditId(id), v.to_float() != 0);
|
updateCCUsed(ccUsedForEditId(id), v.to_float() != 0);
|
||||||
// TODO(jpc) remove value requests, when implementing CC automation
|
// TODO(jpc) remove value requests, when implementing CC automation
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue