Fix possible corruption

CCBUG: 365632
parent 340cd9a2
......@@ -2607,8 +2607,7 @@ void CustomTrackView::cutClip(const ItemInfo &info, const GenTime &cutTime, bool
if (m_dragItem && m_dragItem->type() == AVWidget)
selectedInfo = m_dragItem->info();
if (item == m_dragItem) {
m_dragItem = NULL;
emit clipItemSelected(NULL);
clearSelection();
selectDup = true;
}
if (!item || !info.contains(cutTime)) {
......
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