]> sigrok.org Git - pulseview.git/blobdiff - pv/data/logic.cpp
Append new segments to the end, not the beginning of the list
[pulseview.git] / pv / data / logic.cpp
index 084e8efd7f231fd920a0da8dfad18cfd9e4ac66e..3e194d54eecec4c54abaaeba1d0b7e029c755265 100644 (file)
@@ -44,7 +44,7 @@ unsigned int Logic::num_channels() const
 
 void Logic::push_segment(shared_ptr<LogicSegment> &segment)
 {
-       segments_.push_front(segment);
+       segments_.push_back(segment);
 }
 
 const deque< shared_ptr<LogicSegment> >& Logic::logic_segments() const