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
@ -1206,11 +1206,13 @@ EditorRoutes::key_press (GdkEventKey* ev)
|
||||
break;
|
||||
|
||||
case 's':
|
||||
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…
Reference in New Issue
Block a user