More work for native audio variant, add to win and mac installers

This commit is contained in:
falkTX 2022-08-02 14:30:50 +01:00
parent bc345e2acd
commit 340e927ae3
23 changed files with 148 additions and 51 deletions

View file

@ -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();
}));
}