X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fview%2Fview.cpp;h=3f0fe9d1dc9991febf113d45f02f5dc6189c0ace;hp=c0b3e251d964c5266d500db962ac2ebbc764b188;hb=cef5997ee1e08d713663d2ae02c839a315f41409;hpb=698568bc567743a833a6a20489566c9b2b213190 diff --git a/pv/view/view.cpp b/pv/view/view.cpp index c0b3e25..3f0fe9d 100644 --- a/pv/view/view.cpp +++ b/pv/view/view.cpp @@ -518,8 +518,10 @@ void View::restack_all_trace_tree_items() o->restack_items(); // Animate the items to their destination - for (const auto &r : *this) - r->animate_to_layout_v_offset(); + const vector< shared_ptr > items( + list_by_type()); + for (const auto &i : items) + i->animate_to_layout_v_offset(); } void View::get_scroll_layout(double &length, Timestamp &offset) const