Fix a typo, midi out went only to 15
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
ae57bbf264
commit
31c108c9ae
1 changed files with 1 additions and 1 deletions
|
|
@ -824,7 +824,7 @@ struct HostMIDIWidget : ModuleWidget {
|
||||||
HostMIDI* module;
|
HostMIDI* module;
|
||||||
Menu* createChildMenu() override {
|
Menu* createChildMenu() override {
|
||||||
Menu* menu = new Menu;
|
Menu* menu = new Menu;
|
||||||
for (uint8_t c = 0; c < 15; c++) {
|
for (uint8_t c = 0; c < 16; c++) {
|
||||||
menu->addChild(createCheckMenuItem(string::f("%d", c+1), "",
|
menu->addChild(createCheckMenuItem(string::f("%d", c+1), "",
|
||||||
[=]() {return module->midiOutput.channel == c;},
|
[=]() {return module->midiOutput.channel == c;},
|
||||||
[=]() {module->midiOutput.channel = c;}
|
[=]() {module->midiOutput.channel = c;}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue