Fix crash on insert track. Related to #573

parent 70618a98
Pipeline #15347 passed with stage
in 17 minutes and 27 seconds
......@@ -2268,7 +2268,7 @@ bool TimelineModel::requestTrackInsertion(int position, int &id, const QString &
if (previousId > -1) {
for (auto &compo : m_allCompositions) {
if (compo.second->getATrack() == position && compo.second->getForcedTrack() == -1) {
compo.second->setATrack(position + 1, previousId);
compo.second->setATrack(position + 1, -1);
}
}
}
......
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