From 85f27b28be58b0a53cae52fe0ec79d6ddae85762 Mon Sep 17 00:00:00 2001 From: Nikolaus Gullotta Date: Thu, 23 Jan 2020 12:58:59 -0600 Subject: [PATCH] Only select all routes in a given group if the group is active --- libs/ardour/selection.cc | 4 ++-- 1 file 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 r = boost::dynamic_pointer_cast (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 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 rl = r->route_group()->route_list (); for (RouteList::iterator ri = rl->begin(); ri != rl->end(); ++ri) { if (*ri != r) {