Tidied up update_headers

This commit is contained in:
Joel Holdsworth 2009-01-10 11:02:29 +00:00
parent dbc36cf727
commit fcd5cd8117

View file

@ -79,6 +79,8 @@ TimelineHeaderContainer::update_headers()
pair<shared_ptr<model::Track>, shared_ptr<timeline::Track> > pair;
BOOST_FOREACH( pair, timelineWidget.trackMap )
{
REQUIRE(pair.first);
// Set the header's parent widget
Widget &widget = lookup_timeline_track(pair.first)->
get_header_widget();