M: Make edit_aux_send insensitive

Mixbus does not have a working aux-panner and also no "Aux" button
on Busses.
This commit is contained in:
Robin Gareus 2020-02-13 22:25:32 +01:00
parent f29e5ea7ab
commit 72bf12219e
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 4 additions and 0 deletions

View File

@ -4089,6 +4089,10 @@ ProcessorBox::edit_aux_send (boost::shared_ptr<Processor> processor)
if (boost::dynamic_pointer_cast<InternalSend> (processor) == 0) {
return false;
}
if (ARDOUR::Profile->get_mixbus()) {
/* don't allow editing sends, ignore switch to send-edit */
return true;
}
if (_parent_strip) {
boost::shared_ptr<Send> send = boost::dynamic_pointer_cast<Send> (processor);