mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 20:55:48 +01:00
mackie: strengthen behaviour of clear solo button
This commit is contained in:
parent
2491549923
commit
d3dfd74497
1 changed files with 10 additions and 2 deletions
|
|
@ -863,8 +863,16 @@ Mackie::LedState
|
|||
MackieControlProtocol::clearsolo_press (Mackie::Button&)
|
||||
{
|
||||
// clears all solos and listens (pfl/afl)
|
||||
session->set_solo (session->get_routes(), false);
|
||||
session->set_listen (session->get_routes(), false);
|
||||
|
||||
if (session) {
|
||||
if (session->soloing()) {
|
||||
session->set_solo (session->get_routes(), false);
|
||||
} else if (session->listening()) {
|
||||
session->set_listen (session->get_routes(), false);
|
||||
}
|
||||
|
||||
session->clear_all_solo_state (session->get_routes()); // safeguard, ideally this won't do anything, check the log-window
|
||||
}
|
||||
return none;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue