update osx dmg packaging to new pango
[ardour.git] / gtk2_ardour / track_selection.cc
old mode 100755 (executable)
new mode 100644 (file)
index 9aa29bd..92efbd4
@@ -29,7 +29,10 @@ TrackSelection::TrackSelection (PublicEditor const * e, TrackViewList const &t)
        : TrackViewList (t)
        , _editor (e)
 {
+}
 
+TrackSelection::~TrackSelection ()
+{
 }
 
 TrackViewList
@@ -41,7 +44,7 @@ TrackSelection::add (TrackViewList const & t)
 
                /* select anything in the same select-enabled route group */
                ARDOUR::RouteGroup* rg = (*i)->route_group ();
-               if (rg && rg->property (ARDOUR::RouteGroup::Select)) {
+               if (rg && rg->is_active() && rg->is_select ()) {
                        TrackViewList tr = _editor->axis_views_from_routes (rg->route_list ());
                        for (TrackViewList::iterator j = tr.begin(); j != tr.end(); ++j) {
                                if (!contains (*j)) {