mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix crash when pressing "s" with kbd focus in editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@14055 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
7dd6b4c915
commit
076d919ac3
1 changed files with 6 additions and 4 deletions
|
|
@ -1206,10 +1206,12 @@ EditorRoutes::key_press (GdkEventKey* ev)
|
|||
break;
|
||||
|
||||
case 's':
|
||||
if (Config->get_solo_control_is_listen_control()) {
|
||||
_session->set_listen (rl, !rl->front()->listening_via_monitor(), Session::rt_cleanup);
|
||||
} else {
|
||||
_session->set_solo (rl, !rl->front()->self_soloed(), Session::rt_cleanup);
|
||||
if (get_relevant_routes (rl)) {
|
||||
if (Config->get_solo_control_is_listen_control()) {
|
||||
_session->set_listen (rl, !rl->front()->listening_via_monitor(), Session::rt_cleanup);
|
||||
} else {
|
||||
_session->set_solo (rl, !rl->front()->self_soloed(), Session::rt_cleanup);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue