summaryrefslogtreecommitdiff
path: root/gtk2_ardour/vst_plugin_ui.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-03-11 04:18:35 +0100
committerRobin Gareus <robin@gareus.org>2019-03-11 04:18:35 +0100
commiteecad55f51909af9824c7bf739fbebc65082a037 (patch)
tree3b2f7dfe33523d815b345c096bbbc97da9b078f8 /gtk2_ardour/vst_plugin_ui.cc
parentbdcfab73f8eca49f06463d3f9aa5f250ef64bd77 (diff)
Remove redundant call, fix VST bypass indicator
PlugUIBase c'tor already sets the correct value, using PluginInsert::enabled. That also correctly shows bypass state of VSTs that support effSetBypass
Diffstat (limited to 'gtk2_ardour/vst_plugin_ui.cc')
-rw-r--r--gtk2_ardour/vst_plugin_ui.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk2_ardour/vst_plugin_ui.cc b/gtk2_ardour/vst_plugin_ui.cc
index 33f1264a4b..b162d398b0 100644
--- a/gtk2_ardour/vst_plugin_ui.cc
+++ b/gtk2_ardour/vst_plugin_ui.cc
@@ -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