- if (_route->route_group()) {
-
- rl = _route->route_group()->route_list();
-
- if (_solo_release) {
- _solo_release->routes = rl;
- }
- } else {
- rl.reset (new RouteList);
- rl->push_back (_route);
+ /* Primary-button1 inverts the implication of
+ the group being active. If the group is
+ active (for solo), then this modifier means
+ "do not apply to solo". If the group is
+ inactive (for mute), then this modifier
+ means "apply to route". This is all
+ accomplished by passing just the actual
+ route, along with the InverseGroup group
+ control disposition.
+
+ NOTE: Primary-button2 is MIDI learn.
+ */
+
+ rl.reset (new RouteList);
+ rl->push_back (_route);
+
+ if (_solo_release) {
+ _solo_release->routes = rl;