diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index 2dc468e500..2a4ab747d4 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -153,8 +153,15 @@ AUPluginUI::AUPluginUI (boost::shared_ptr insert) smaller_hbox->set_spacing (6); smaller_hbox->pack_start (preset_label, false, false, 4); + smaller_hbox->pack_start (_preset_modified, false, false); smaller_hbox->pack_start (_preset_combo, false, false); + smaller_hbox->pack_start (add_button, false, false); +#if 0 + /* Ardour does not currently allow to overwrite existing presets + * see save_property_list() in audio_unit.cc + */ smaller_hbox->pack_start (save_button, false, false); +#endif #if 0 /* one day these might be useful with an AU plugin, but not yet */ smaller_hbox->pack_start (automation_mode_label, false, false); diff --git a/libs/ardour/audio_unit.cc b/libs/ardour/audio_unit.cc index cdc21a33ac..0455ca893d 100644 --- a/libs/ardour/audio_unit.cc +++ b/libs/ardour/audio_unit.cc @@ -1897,6 +1897,8 @@ AUPlugin::do_save_preset (string preset_name) CFRelease(propertyList); + user_preset_map[preset_name] = user_preset_path;; + return string ("file:///") + user_preset_path; }