diff options
author | Robin Gareus <robin@gareus.org> | 2015-05-18 16:30:02 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-05-18 16:30:02 +0200 |
commit | 03248249c8de749c42d54cf23e0c18e76412d6f6 (patch) | |
tree | eb2d86574f4f12c5af2c42748c043d92117b60aa /gtk2_ardour/processor_box.cc | |
parent | 8287bdad1bbd9b8a52011baecdc3227d564366fa (diff) |
remove LED from custom meter point processors
... since they can't be disabled. fixes 6333
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r-- | gtk2_ardour/processor_box.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index e801aaeb74..71435fe9e4 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -45,6 +45,7 @@ #include "ardour/audioengine.h" #include "ardour/internal_return.h" #include "ardour/internal_send.h" +#include "ardour/meter.h" #include "ardour/panner_shell.h" #include "ardour/plugin_insert.h" #include "ardour/pannable.h" @@ -116,6 +117,9 @@ ProcessorEntry::ProcessorEntry (ProcessorBox* parent, boost::shared_ptr<Processo _button.signal_led_clicked.connect (sigc::mem_fun (*this, &ProcessorEntry::led_clicked)); _button.set_text (name (_width)); + if (boost::dynamic_pointer_cast<PeakMeter> (_processor)) { + _button.set_elements(ArdourButton::Element(_button.elements() & ~ArdourButton::Indicator)); + } if (_processor) { _vbox.pack_start (_routing_icon); |