From 7a66b22428afa1a3a7105119e1e09c08d1612b0e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 11 Oct 2019 00:13:07 +0200 Subject: Show preset-browser button if annoted presets are available --- gtk2_ardour/au_pluginui.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/au_pluginui.mm') diff --git a/gtk2_ardour/au_pluginui.mm b/gtk2_ardour/au_pluginui.mm index 1aebc10214..d4003550b5 100644 --- a/gtk2_ardour/au_pluginui.mm +++ b/gtk2_ardour/au_pluginui.mm @@ -431,7 +431,9 @@ AUPluginUI::AUPluginUI (boost::shared_ptr insert) smaller_hbox->pack_start (add_button, false, false); smaller_hbox->pack_start (save_button, false, false); smaller_hbox->pack_start (delete_button, false, false); - + if (has_descriptive_presets ()) { + smaller_hbox->pack_start (preset_browser_button, false, false); + } #if 0 /* one day these might be useful with an AU plugin, but not yet */ smaller_hbox->pack_start (automation_mode_label, false, false); -- cgit v1.2.3