diff --git a/src/app/MenuBar.cpp b/src/app/MenuBar.cpp index 8427a4de..342d6f71 100644 --- a/src/app/MenuBar.cpp +++ b/src/app/MenuBar.cpp @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include @@ -709,7 +710,7 @@ struct LibraryMenu : ui::Menu { addChild(syncItem); if (plugin::hasUpdates()) { - addChild(new ui::MenuEntry); + addChild(new ui::MenuSeparator); ui::MenuLabel* updatesLabel = new ui::MenuLabel; updatesLabel->text = "Updates"; diff --git a/src/app/ModuleWidget.cpp b/src/app/ModuleWidget.cpp index db460f9c..c105e192 100644 --- a/src/app/ModuleWidget.cpp +++ b/src/app/ModuleWidget.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -235,12 +236,12 @@ struct ModulePresetItem : ui::MenuItem { }; // Scan `/presets//` for presets. - menu->addChild(new MenuEntry); + menu->addChild(new ui::MenuSeparator); menu->addChild(createMenuLabel("User presets")); createPresetItems(asset::user("presets/" + moduleWidget->model->plugin->slug + "/" + moduleWidget->model->slug)); // Scan `/presets/` for presets. - menu->addChild(new MenuEntry); + menu->addChild(new ui::MenuSeparator); menu->addChild(createMenuLabel("Factory presets")); createPresetItems(asset::plugin(moduleWidget->model->plugin, "presets/" + moduleWidget->model->slug)); diff --git a/src/core/AudioInterface.cpp b/src/core/AudioInterface.cpp index 5f3eff96..ba51c6d5 100644 --- a/src/core/AudioInterface.cpp +++ b/src/core/AudioInterface.cpp @@ -367,7 +367,7 @@ struct AudioInterfaceWidget : ModuleWidget { void appendContextMenu(Menu* menu) override { TAudioInterface* module = dynamic_cast(this->module); - menu->addChild(new MenuEntry); + menu->addChild(new MenuSeparator); PrimaryModuleItem* primaryModuleItem = new PrimaryModuleItem; primaryModuleItem->text = "Primary audio module"; diff --git a/src/core/CV_Gate.cpp b/src/core/CV_Gate.cpp index 286ce5ad..342aa741 100644 --- a/src/core/CV_Gate.cpp +++ b/src/core/CV_Gate.cpp @@ -205,7 +205,7 @@ struct CV_GateWidget : ModuleWidget { void appendContextMenu(Menu* menu) override { CV_Gate* module = dynamic_cast(this->module); - menu->addChild(new MenuEntry); + menu->addChild(new MenuSeparator); CV_GateVelocityItem* velocityItem = createMenuItem("Velocity mode", CHECKMARK(module->velocityMode)); velocityItem->module = module; menu->addChild(velocityItem); diff --git a/src/core/CV_MIDI.cpp b/src/core/CV_MIDI.cpp index 07aafde0..7e2fdb9f 100644 --- a/src/core/CV_MIDI.cpp +++ b/src/core/CV_MIDI.cpp @@ -175,7 +175,7 @@ struct CV_MIDIWidget : ModuleWidget { void appendContextMenu(Menu* menu) override { CV_MIDI* module = dynamic_cast(this->module); - menu->addChild(new MenuEntry); + menu->addChild(new MenuSeparator); CV_MIDIPanicItem* panicItem = new CV_MIDIPanicItem; panicItem->text = "Panic"; diff --git a/src/core/MIDI_CV.cpp b/src/core/MIDI_CV.cpp index 7733a7fc..e2cf7584 100644 --- a/src/core/MIDI_CV.cpp +++ b/src/core/MIDI_CV.cpp @@ -573,7 +573,7 @@ struct MIDI_CVWidget : ModuleWidget { void appendContextMenu(Menu* menu) override { MIDI_CV* module = dynamic_cast(this->module); - menu->addChild(new MenuEntry); + menu->addChild(new MenuSeparator); ClockDivisionItem* clockDivisionItem = new ClockDivisionItem; clockDivisionItem->text = "CLK/N divider"; diff --git a/src/core/MIDI_Gate.cpp b/src/core/MIDI_Gate.cpp index da8ddf85..2c30d89e 100644 --- a/src/core/MIDI_Gate.cpp +++ b/src/core/MIDI_Gate.cpp @@ -211,7 +211,7 @@ struct MIDI_GateWidget : ModuleWidget { void appendContextMenu(Menu* menu) override { MIDI_Gate* module = dynamic_cast(this->module); - menu->addChild(new MenuEntry); + menu->addChild(new MenuSeparator); MIDI_GateVelocityItem* velocityItem = createMenuItem("Velocity mode", CHECKMARK(module->velocityMode)); velocityItem->module = module; menu->addChild(velocityItem);