Commit 2d82cc20 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

TrackWorkflow: Adding a effect should rely on the clip helper's id.

parent dc293921
......@@ -98,7 +98,7 @@ TrackWorkflow::addEffect( Effect *effect, const QUuid &uuid )
while ( it != end )
{
if ( it.value()->getClipHelper()->clip()->fullId() == uuid )
if ( it.value()->getClipHelper()->uuid() == uuid )
return it.value()->appendEffect( effect );
++it;
}
......
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