diff options
author | Nikolaus Gullotta <nik@harrisonconsoles.com> | 2020-01-23 12:58:59 -0600 |
---|---|---|
committer | Nikolaus Gullotta <nik@harrisonconsoles.com> | 2020-01-23 12:58:59 -0600 |
commit | 85f27b28be58b0a53cae52fe0ec79d6ddae85762 (patch) | |
tree | 5d1a988d46f48d438e471899a868e82652a5c940 | |
parent | 142ce953dad2899e446147f73e07f3732db0dbc2 (diff) |
Only select all routes in a given group if the group is active
-rw-r--r-- | libs/ardour/selection.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/selection.cc b/libs/ardour/selection.cc index c12fbb0b19..9f135841de 100644 --- a/libs/ardour/selection.cc +++ b/libs/ardour/selection.cc @@ -92,7 +92,7 @@ CoreSelection::select_adjacent_stripable (bool mixer_order, bool routes_only, RouteGroup* group = 0; boost::shared_ptr<Route> r = boost::dynamic_pointer_cast<Route> (last_selected); - if (r && r->route_group() && r->route_group()->is_select()) { + if (r && r->route_group() && r->route_group()->is_select() && r->route_group()->is_active()) { group = r->route_group(); } @@ -179,7 +179,7 @@ CoreSelection::select_stripable_and_maybe_group (boost::shared_ptr<Stripable> s, if (!not_allowed_in_group || !r->route_group() || r->route_group() != not_allowed_in_group) { - if (r->route_group() && r->route_group()->is_select()) { + if (r->route_group() && r->route_group()->is_select() && r->route_group()->is_active()) { boost::shared_ptr<RouteList> rl = r->route_group()->route_list (); for (RouteList::iterator ri = rl->begin(); ri != rl->end(); ++ri) { if (*ri != r) { |