13
0

Remove edit option from internal send context menus; it's pretty confusing, and there is a fader just underneath the send processor's label to edit its level.

git-svn-id: svn://localhost/ardour2/branches/3.0@10409 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-11-03 02:20:51 +00:00
parent c9ec37afaf
commit 11d604dea3

View File

@ -1780,7 +1780,7 @@ ProcessorBox::processor_can_be_edited (boost::shared_ptr<Processor> processor)
}
if (
boost::dynamic_pointer_cast<Send> (processor) ||
(boost::dynamic_pointer_cast<Send> (processor) && !boost::dynamic_pointer_cast<InternalSend> (processor))||
boost::dynamic_pointer_cast<Return> (processor) ||
boost::dynamic_pointer_cast<PluginInsert> (processor) ||
boost::dynamic_pointer_cast<PortInsert> (processor)
@ -1826,20 +1826,6 @@ ProcessorBox::toggle_edit_processor (boost::shared_ptr<Processor> processor)
_parent_strip->revert_to_default_display ();
}
} else if ((internal_send = boost::dynamic_pointer_cast<InternalSend> (processor)) != 0) {
if (!_session->engine().connected()) {
return;
}
if (_parent_strip) {
if (boost::dynamic_pointer_cast<Send> (_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<Send> (processor)) != 0) {
if (!_session->engine().connected()) {