Commit 8c53fd0f 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 02c7aef3
......@@ -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======";
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