X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fvst_plugin_ui.cc;h=303fb8b8dd956358c9d236cc1a9c8ee966a6449a;hb=e80ccbfc8b3a572e517cd9932e5f260e41a5dff7;hp=758c38cd8fe4bbb1d35775d100520cdd9a5f12a1;hpb=e913b03fb6205589494fcc99f05917ec871e81c6;p=ardour.git diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc index 758c38cd8f..303fb8b8dd 100644 --- a/gtk2_ardour/vst_plugin_ui.cc +++ b/gtk2_ardour/vst_plugin_ui.cc @@ -34,13 +34,9 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr insert, boost: box->pack_end (delete_button, false, false); box->pack_end (save_button, false, false); box->pack_end (add_button, false, false); - box->pack_end (_preset_box, false, false); + box->pack_end (_preset_combo, false, false); - if (!insert->active ()) { - bypass_button.set_active_state (Gtkmm2ext::Active); - } else { - bypass_button.unset_active_state (); - } + bypass_button.set_active (!insert->active ()); pack_start (*box, false, false); pack_start (_socket, true, true);