More work for native audio variant, add to win and mac installers
This commit is contained in:
parent
bc345e2acd
commit
340e927ae3
23 changed files with 148 additions and 51 deletions
|
@ -661,13 +661,11 @@ struct EngineButton : MenuButton {
|
|||
}
|
||||
|
||||
if (supportsMIDI()) {
|
||||
const bool enabled = isMIDIEnabled();
|
||||
std::string rightText;
|
||||
if (enabled)
|
||||
if (isMIDIEnabled())
|
||||
rightText = CHECKMARK_STRING;
|
||||
menu->addChild(createMenuItem("Enable MIDI", rightText, [enabled]() {
|
||||
if (!enabled)
|
||||
requestMIDI();
|
||||
menu->addChild(createMenuItem("Enable/Reconnect MIDI", rightText, []() {
|
||||
requestMIDI();
|
||||
}));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue