diff options
author | Robin Gareus <robin@gareus.org> | 2019-10-11 00:13:07 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-10-11 00:13:07 +0200 |
commit | 7a66b22428afa1a3a7105119e1e09c08d1612b0e (patch) | |
tree | b51ae24d2e9ba124d4367a981a82fc7063aa332c /gtk2_ardour/vst_plugin_ui.cc | |
parent | 71fa4fa75c8eebdc2f9c09306fb19900bb61d1cc (diff) |
Show preset-browser button if annoted presets are available
Diffstat (limited to 'gtk2_ardour/vst_plugin_ui.cc')
-rw-r--r-- | gtk2_ardour/vst_plugin_ui.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc index 4416a354cb..1055183be4 100644 --- a/gtk2_ardour/vst_plugin_ui.cc +++ b/gtk2_ardour/vst_plugin_ui.cc @@ -45,6 +45,9 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost: if (insert->controls().size() > 0) { box->pack_end (reset_button, false, false, 4); } + if (has_descriptive_presets ()) { + box->pack_end (preset_browser_button, false, false); + } box->pack_end (delete_button, false, false); box->pack_end (save_button, false, false); box->pack_end (add_button, false, false); |