Commit 473c11e9 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix crash on insert track. Related to #573

parent 41882950
......@@ -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