mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
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:
parent
c9ec37afaf
commit
11d604dea3
1 changed files with 1 additions and 15 deletions
|
|
@ -1780,7 +1780,7 @@ ProcessorBox::processor_can_be_edited (boost::shared_ptr<Processor> processor)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
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<Return> (processor) ||
|
||||||
boost::dynamic_pointer_cast<PluginInsert> (processor) ||
|
boost::dynamic_pointer_cast<PluginInsert> (processor) ||
|
||||||
boost::dynamic_pointer_cast<PortInsert> (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 ();
|
_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) {
|
} else if ((send = boost::dynamic_pointer_cast<Send> (processor)) != 0) {
|
||||||
|
|
||||||
if (!_session->engine().connected()) {
|
if (!_session->engine().connected()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue