Fix crash on mix deletion

parent 7338455a
......@@ -489,6 +489,7 @@ void TimelineController::deleteSelectedClips()
if (m_model->m_selectedMix > -1 && m_model->isClip(m_model->m_selectedMix)) {
m_model->removeMix(m_model->m_selectedMix);
}
return;
}
// only need to delete the first item, the others will be deleted in cascade
if (m_model->m_editMode == TimelineMode::InsertEdit) {
......
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