Commit 8c86aa77 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

TracksView: Fixing clip duplication check.

Fixes split undo/redo
parent 1cd61f03
......@@ -218,8 +218,6 @@ TracksView::removeClip( const QUuid& uuid )
// Removing the item from the backend.
item->track()->trackWorkflow()->removeClip( itemUuid );
m_clipsLoaded.remove( item->clipHelper()->uuid() );
}
}
}
......@@ -620,6 +618,7 @@ TracksView::removeMediaItem( AbstractGraphicsMediaItem *item )
QList<AbstractGraphicsMediaItem*> items;
items.append( item );
removeMediaItem( items );
m_clipsLoaded.remove( item->clipHelper()->uuid() );
}
void
......
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