13
0

Fix solo button handler (amend aab296be48)

Exclusive solo is possible for both listen and in-place.
This commit is contained in:
Robin Gareus 2021-03-25 14:46:29 +01:00
parent c3fb344f44
commit fe99dd4ec2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -674,10 +674,8 @@ RouteUI::solo_press(GdkEventButton* ev)
_session->prepare_momentary_solo (0, true, _route);
}
if (Config->get_solo_control_is_listen_control()) {
DisplaySuspender ds;
_route->solo_control()->set_value (1.0, Controllable::NoGroup);
}
DisplaySuspender ds;
_route->solo_control()->set_value (1.0, Controllable::NoGroup);
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {