return string_compose ("rtav %1", _route->id().to_s());
}
+
+void
+RouteTimeAxisView::remove_child (boost::shared_ptr<TimeAxisView> c)
+{
+ TimeAxisView::remove_child (c);
+
+ boost::shared_ptr<AutomationTimeAxisView> a = boost::dynamic_pointer_cast<AutomationTimeAxisView> (c);
+ if (a) {
+ for (AutomationTracks::iterator i = _automation_tracks.begin(); i != _automation_tracks.end(); ++i) {
+ if (i->second == a) {
+ _automation_tracks.erase (i);
+ return;
+ }
+ }
+ }
+}
UnderlayMirrorList _underlay_mirrors;
bool _ignore_track_mode_change; ///< true to ignore track mode change signals
+
+private:
+
+ void remove_child (boost::shared_ptr<TimeAxisView>);
};
#endif /* __ardour_route_time_axis_h__ */
Children children;
bool is_child (TimeAxisView*);
- void remove_child (boost::shared_ptr<TimeAxisView>);
+ virtual void remove_child (boost::shared_ptr<TimeAxisView>);
void add_child (boost::shared_ptr<TimeAxisView>);
/* selection display */