From f400c166cc44b3387412cc873306f9c1513ca6ce Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 27 Jul 2023 11:43:43 -0600 Subject: [PATCH] change for logic for when to use selection-as-group --- gtk2_ardour/route_ui.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 24c714587d..67585b837d 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -2891,8 +2891,13 @@ RouteUI::maybe_use_select_as_group (bool (RouteGroup::*method)() const) const return false; } - if (route()->route_group() && route()->route_group()->is_active() && (route()->route_group()->*method)()) { - /* active route group sharing the appropriate property */ + if (ARDOUR_UI::instance()->the_editor().get_selection().tracks.size() < 2) { + /* only this track selected */ + return false; + } + + if (route()->route_group() && route()->route_group()->is_active() && !route()->route_group()->is_select()) { + /* active route group that does not share selection status */ return false; }