diff options
Diffstat (limited to 'libs/surfaces/mackie/mackie_control_protocol.cc')
-rw-r--r-- | libs/surfaces/mackie/mackie_control_protocol.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/libs/surfaces/mackie/mackie_control_protocol.cc b/libs/surfaces/mackie/mackie_control_protocol.cc index 4256d9780a..e95b50b011 100644 --- a/libs/surfaces/mackie/mackie_control_protocol.cc +++ b/libs/surfaces/mackie/mackie_control_protocol.cc @@ -704,7 +704,7 @@ MackieControlProtocol::connect_session_signals() // receive rude solo changed session->SoloActive.connect(session_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_solo_active_changed, this, _1), this); // need to know if group parameters change... might be hidden. - session->RouteGroupPropertyChanged.connect(session_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_remote_id_changed, this), this); + session->RouteGroupPropertyChanged.connect(session_connections, MISSING_INVALIDATOR, boost::bind (&MackieControlProtocol::notify_group_property_changed, this, _2), this); // make sure remote id changed signals reach here // see also notify_route_added @@ -1259,6 +1259,17 @@ MackieControlProtocol::notify_solo_active_changed (bool active) } void +MackieControlProtocol::notify_group_property_changed (PropertyChange pc) +{ + if (!pc.contains (Properties::hidden)) { + return; + } + + /* re-pick routes to show, as if remote ID(s) had changed */ + notify_remote_id_changed (); +} + +void MackieControlProtocol::notify_remote_id_changed() { { |