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

Fix freeze trying to drag a clip that was just added to Bin.

Related to #1115
parent e9e08f0e
......@@ -316,6 +316,9 @@ QMimeData *ProjectItemModel::mimeData(const QModelIndexList &indices) const
continue;
}
std::shared_ptr<AbstractProjectItem> item = getBinItemByIndex(ix);
if (!item->statusReady()) {
continue;
}
AbstractProjectItem::PROJECTITEMTYPE type = item->itemType();
if (type == AbstractProjectItem::ClipItem) {
ClipType::ProducerType cType = item->clipType();
......
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