diff --git a/gtk2_ardour/selection.cc b/gtk2_ardour/selection.cc index aaa09cd9b5..831f4143ac 100644 --- a/gtk2_ardour/selection.cc +++ b/gtk2_ardour/selection.cc @@ -1493,7 +1493,10 @@ Selection::remove (const TrackViewList& t) PresentationInfo::ChangeSuspender cs; for (TrackSelection::const_iterator i = t.begin(); i != t.end(); ++i) { - std::shared_ptr s = (*i)->stripable (); + std::shared_ptr s; + if (!dynamic_cast (*i)) { + s = (*i)->stripable (); + } std::shared_ptr c = (*i)->control (); selection.remove (s, c); }