mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Fix solo button handler (amend aab296be48)
Exclusive solo is possible for both listen and in-place.
This commit is contained in:
parent
c3fb344f44
commit
fe99dd4ec2
1 changed files with 2 additions and 4 deletions
|
|
@ -674,10 +674,8 @@ RouteUI::solo_press(GdkEventButton* ev)
|
||||||
_session->prepare_momentary_solo (0, true, _route);
|
_session->prepare_momentary_solo (0, true, _route);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Config->get_solo_control_is_listen_control()) {
|
DisplaySuspender ds;
|
||||||
DisplaySuspender ds;
|
_route->solo_control()->set_value (1.0, Controllable::NoGroup);
|
||||||
_route->solo_control()->set_value (1.0, Controllable::NoGroup);
|
|
||||||
}
|
|
||||||
|
|
||||||
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {
|
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue