mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
don't allow to delete AU presets in the UI
because the backend is not ready for this.
This commit is contained in:
parent
b81504581b
commit
ed8c88d697
1 changed files with 4 additions and 1 deletions
|
|
@ -2392,8 +2392,11 @@ Mixer_UI::popup_note_context_menu (GdkEventButton *ev)
|
|||
|
||||
ARDOUR::PluginPresetPtr ppp = selected_plugin();
|
||||
if (ppp && ppp->_preset.valid && ppp->_preset.user) {
|
||||
// we cannot currently delete AU presets
|
||||
if (!ppp->_pip || ppp->_pip->type != AudioUnit) {
|
||||
items.push_back (MenuElem (_("Delete Preset"), sigc::mem_fun (*this, &Mixer_UI::delete_selected_preset)));
|
||||
}
|
||||
}
|
||||
|
||||
m->popup (ev->button, ev->time);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue