Fix crash inserting zone over grouped clips in same track

parent b4895a06
Pipeline #37816 passed with stage
in 17 minutes and 35 seconds
......@@ -519,6 +519,7 @@ bool TimelineFunctions::liftZone(const std::shared_ptr<TimelineItemModel> &timel
}
std::unordered_set<int> clips = timeline->getItemsInRange(trackId, zone.x(), zone.y());
for (const auto &clipId : clips) {
timeline->requestClipUngroup(clipId, undo, redo);
timeline->requestItemDeletion(clipId, undo, redo);
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment