remove LED from custom meter point processors

... since they can't be disabled. fixes 6333
This commit is contained in:
Robin Gareus 2015-05-18 16:30:02 +02:00
parent 8287bdad1b
commit 03248249c8

View File

@ -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);