From e91989ab6bcd59ac767c143147626146346a5a55 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 6 Jul 2010 11:34:00 +0000 Subject: [PATCH] group active status honor patch from lincoln spiteri git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@7382 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/editor_selection.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_selection.cc b/gtk2_ardour/editor_selection.cc index fda5155e0..fdc1fe2ad 100644 --- a/gtk2_ardour/editor_selection.cc +++ b/gtk2_ardour/editor_selection.cc @@ -294,6 +294,7 @@ void Editor::mapover_tracks (sigc::slot sl, TimeAxisView* basis, PBD::PropertyID prop) const { RouteTimeAxisView* route_basis = dynamic_cast (basis); + if (route_basis == 0) { return; } @@ -302,7 +303,8 @@ Editor::mapover_tracks (sigc::slot sl, TimeA tracks.insert (route_basis); RouteGroup* group = route_basis->route()->route_group(); - if (group && group->enabled_property (prop)) { + + if (group && group->enabled_property(prop) && group->enabled_property (Properties::active.property_id) ) { /* the basis is a member of an active route group, with the appropriate properties; find other members */ @@ -317,6 +319,7 @@ Editor::mapover_tracks (sigc::slot sl, TimeA /* call the slots */ uint32_t const sz = tracks.size (); + for (set::iterator i = tracks.begin(); i != tracks.end(); ++i) { sl (**i, sz); } -- 2.11.4.GIT