diff --git a/src/LabelTrack.cpp b/src/LabelTrack.cpp index 59204bcc8..57a22d7ae 100644 --- a/src/LabelTrack.cpp +++ b/src/LabelTrack.cpp @@ -266,6 +266,10 @@ void LabelTrack::WarpLabels(const TimeWarper &warper) { warper.Warp(labelStruct.getT0()), warper.Warp(labelStruct.getT1())); } + + // This should not be needed, assuming the warper is nondecreasing, but + // let's not assume too much. + SortLabels(); } void LabelTrack::ResetFlags()