Commit 5baaa069 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 aa399d14
Pipeline #126715 passed with stage
in 12 minutes and 6 seconds
......@@ -316,6 +316,9 @@ QMimeData *ProjectItemModel::mimeData(const QModelIndexList &indices) const
std::shared_ptr<AbstractProjectItem> item = getBinItemByIndex(ix);
if (!item->statusReady()) {
AbstractProjectItem::PROJECTITEMTYPE type = item->itemType();
if (type == AbstractProjectItem::ClipItem) {
ClipType::ProducerType cType = item->clipType();
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