2
0
Fork 0

Update PluginEditor.cpp

File menu separators and tidy up
This commit is contained in:
George Reales 2021-04-02 10:54:53 +02:00
parent 27ada371d1
commit e9eae0fb6a

View file

@ -422,6 +422,8 @@ void ObxdAudioProcessorEditor::createMenu ()
true, true,
false); false);
fileMenu.addSeparator();
fileMenu.addItem(static_cast<int>(MenuAction::ExportPreset), fileMenu.addItem(static_cast<int>(MenuAction::ExportPreset),
"Export Preset...", "Export Preset...",
true, true,
@ -432,21 +434,23 @@ void ObxdAudioProcessorEditor::createMenu ()
true, true,
false); false);
fileMenu.addItem(static_cast<int>(MenuAction::SavePreset), fileMenu.addSeparator();
"Save Preset...",
true,
false);
fileMenu.addItem(static_cast<int>(MenuAction::RenamePreset),
"Rename Preset...",
true,
false);
fileMenu.addItem(static_cast<int>(MenuAction::NewPreset), fileMenu.addItem(static_cast<int>(MenuAction::NewPreset),
"New Preset...", "New Preset...",
true,//enableNewPresetOption, true,//enableNewPresetOption,
false); false);
fileMenu.addItem(static_cast<int>(MenuAction::RenamePreset),
"Rename Preset...",
true,
false);
fileMenu.addItem(static_cast<int>(MenuAction::SavePreset),
"Save Preset...",
true,
false);
fileMenu.addItem(static_cast<int>(MenuAction::DeletePreset), fileMenu.addItem(static_cast<int>(MenuAction::DeletePreset),
"Delete Preset...", "Delete Preset...",
true, true,