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

Fix possible crash dragging clip in timeline from a file manager

Related to #900
parent c07a55f7
......@@ -3582,6 +3582,10 @@ void TimelineController::switchRecording(int trackId)
void TimelineController::urlDropped(QStringList droppedFile, int frame, int tid)
if (droppedFile.isEmpty()) {
// Empty url passed, abort
m_recordTrack = tid;
m_recordStart = {frame, -1};
qDebug()<<"=== GOT DROPPED FILED: "<<droppedFile<<"\n======";
Supports Markdown
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