summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/selection.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/ardour/selection.cc b/libs/ardour/selection.cc
index ac83429d62..10dc50003c 100644
--- a/libs/ardour/selection.cc
+++ b/libs/ardour/selection.cc
@@ -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