Fix debug and headless builds

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2023-05-23 16:00:56 +02:00
parent cf45ff62fc
commit 4edf85ab92
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
4 changed files with 5 additions and 3 deletions

View file

@ -263,9 +263,11 @@ struct FileButton : MenuButton {
patchUtils::revertDialog();
}, APP->patch->path.empty()));
#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
menu->addChild(createMenuItem("Overwrite template", "", []() {
patchUtils::saveTemplateDialog();
}));
#endif
#ifdef DISTRHO_OS_WASM
menu->addChild(new ui::MenuSeparator);