diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index 883ce4b196..bb09aba272 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -1780,7 +1780,7 @@ ProcessorBox::processor_can_be_edited (boost::shared_ptr processor) } if ( - boost::dynamic_pointer_cast (processor) || + (boost::dynamic_pointer_cast (processor) && !boost::dynamic_pointer_cast (processor))|| boost::dynamic_pointer_cast (processor) || boost::dynamic_pointer_cast (processor) || boost::dynamic_pointer_cast (processor) @@ -1826,20 +1826,6 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr processor) _parent_strip->revert_to_default_display (); } - } else if ((internal_send = boost::dynamic_pointer_cast (processor)) != 0) { - - if (!_session->engine().connected()) { - return; - } - - if (_parent_strip) { - if (boost::dynamic_pointer_cast (_parent_strip->current_delivery()) == internal_send) { - _parent_strip->revert_to_default_display (); - } else { - _parent_strip->show_send (internal_send); - } - } - } else if ((send = boost::dynamic_pointer_cast (processor)) != 0) { if (!_session->engine().connected()) {