Move get_child_list() into TimeAxisView.

git-svn-id: svn://localhost/ardour2/branches/3.0@7574 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-09 17:27:56 +00:00
parent 5b520324ce
commit 3600f60a03
5 changed files with 22 additions and 22 deletions

View file

@ -5027,12 +5027,10 @@ Editor::timeaxisview_deleted (TimeAxisView *tv)
entered_track = 0;
}
if (rtav) {
TimeAxisView::Children c = rtav->get_child_list ();
for (TimeAxisView::Children::const_iterator i = c.begin(); i != c.end(); ++i) {
if (entered_track == i->get()) {
entered_track = 0;
}
TimeAxisView::Children c = tv->get_child_list ();
for (TimeAxisView::Children::const_iterator i = c.begin(); i != c.end(); ++i) {
if (entered_track == i->get()) {
entered_track = 0;
}
}