summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2020-02-13 22:25:32 +0100
committerRobin Gareus <robin@gareus.org>2020-02-13 22:25:32 +0100
commit72bf12219e229595ac9bd68f6a18a5ced37d49c9 (patch)
tree0da2c27b04577e1b7accb48b1b3ab6a58cbbe313 /gtk2_ardour/processor_box.cc
parentf29e5ea7ab5a3df0179b285263682f03c5dfcf7c (diff)
M: Make edit_aux_send insensitive
Mixbus does not have a working aux-panner and also no "Aux" button on Busses.
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r--gtk2_ardour/processor_box.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index 0b53ac3869..9eed52b889 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -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);