mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
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
This commit is contained in:
parent
bdcfab73f8
commit
eecad55f51
1 changed files with 0 additions and 2 deletions
|
|
@ -50,8 +50,6 @@ VSTPluginUI::VSTPluginUI (boost::shared_ptr<ARDOUR::PluginInsert> insert, boost:
|
||||||
box->pack_end (_preset_modified, false, false);
|
box->pack_end (_preset_modified, false, false);
|
||||||
box->pack_end (pin_management_button, false, false);
|
box->pack_end (pin_management_button, false, false);
|
||||||
|
|
||||||
bypass_button.set_active (!insert->active ());
|
|
||||||
|
|
||||||
pack_start (*box, false, false);
|
pack_start (*box, false, false);
|
||||||
box->signal_size_allocate().connect (sigc::mem_fun (*this, &VSTPluginUI::top_box_allocated));
|
box->signal_size_allocate().connect (sigc::mem_fun (*this, &VSTPluginUI::top_box_allocated));
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue