mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Monitor should be *really* unselectable
This commit is contained in:
parent
0db0d85108
commit
03c5a35a8c
1 changed files with 7 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ CoreSelection::select_adjacent_stripable (bool mixer_order, bool routes_only,
|
||||||
|
|
||||||
/* monitor is never selectable anywhere. for now, anyway */
|
/* 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)) {
|
if (select_stripable_and_maybe_group (*s, true, routes_only, 0)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -157,6 +157,12 @@ CoreSelection::select_stripable_and_maybe_group (boost::shared_ptr<Stripable> s,
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* monitor is never selectable */
|
||||||
|
|
||||||
|
if (s->is_monitor()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if ((r = boost::dynamic_pointer_cast<Route> (s))) {
|
if ((r = boost::dynamic_pointer_cast<Route> (s))) {
|
||||||
|
|
||||||
/* no selection of inactive routes, though they can be selected
|
/* no selection of inactive routes, though they can be selected
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue