mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-08 14:45:43 +01:00
change for logic for when to use selection-as-group
This commit is contained in:
parent
c9a58bfae1
commit
f400c166cc
1 changed files with 7 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue