Monitor should be *really* unselectable
This commit is contained in:
parent
0db0d85108
commit
03c5a35a8c
@ -122,7 +122,7 @@ CoreSelection::select_adjacent_stripable (bool mixer_order, bool routes_only,
|
||||
|
||||
/* monitor is never selectable anywhere. for now, anyway */
|
||||
|
||||
if ((!routes_only || r) && !(*s)->is_monitor()) {
|
||||
if (!routes_only || r) {
|
||||
if (select_stripable_and_maybe_group (*s, true, routes_only, 0)) {
|
||||
return;
|
||||
}
|
||||
@ -157,6 +157,12 @@ CoreSelection::select_stripable_and_maybe_group (boost::shared_ptr<Stripable> s,
|
||||
return false;
|
||||
}
|
||||
|
||||
/* monitor is never selectable */
|
||||
|
||||
if (s->is_monitor()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ((r = boost::dynamic_pointer_cast<Route> (s))) {
|
||||
|
||||
/* no selection of inactive routes, though they can be selected
|
||||
|
Loading…
Reference in New Issue
Block a user