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

Fix possible crash. Related to #841

parent 39e07a56
......@@ -985,7 +985,7 @@ int TimelineController::getMainSelectedClip() const
}
}
}
return clipId;
return m_model->isClip(clipId) ? clipId : -1;
}
void TimelineController::addQuickMarker(int cid, int position)
......
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