Remove redundant call, fix VST bypass indicator
[ardour.git] / gtk2_ardour / vst_plugin_ui.cc
index 33f1264a4b548e5c9c7145d5ec9211359dd72af6..b162d398b0b2db5150641645ba7748f9bccbf54b 100644 (file)
@@ -50,8 +50,6 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost:
        box->pack_end (_preset_modified, false, false);
        box->pack_end (pin_management_button, false, false);
 
-       bypass_button.set_active (!insert->active ());
-
        pack_start (*box, false, false);
        box->signal_size_allocate().connect (sigc::mem_fun (*this, &VSTPluginUI::top_box_allocated));
 #ifdef GDK_WINDOWING_X11