From 39a61dba8324e6a92c303b7296cb0a7a7cc40145 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 29 Jan 2016 12:58:50 -0500 Subject: mixbus: vpot press in non-subview mode should toggle master bus send --- libs/surfaces/mackie/strip.cc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libs/surfaces/mackie/strip.cc b/libs/surfaces/mackie/strip.cc index a5dee0949b..245f511241 100644 --- a/libs/surfaces/mackie/strip.cc +++ b/libs/surfaces/mackie/strip.cc @@ -837,8 +837,17 @@ Strip::vselect_event (Button&, ButtonState bs) } else { +#ifdef MIXBUS + if (_route) { + boost::shared_ptr ac = _route->master_send_enable_controllable (); + if (ac) { + bool enabled = ac->get_value(); + ac->set_value (!enabled, Controllable::UseGroup); + } +#else DEBUG_TRACE (DEBUG::MackieControl, "switching to next pot mode\n"); next_pot_mode (); +#endif } } -- cgit v1.2.3