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

TrackScene: Fixing clip effect deletion

parent 63473b57
......@@ -118,7 +118,7 @@ TracksScene::askRemoveSelectedItems()
{
EffectHelper *eh = qobject_cast<EffectHelper*>( item->helper() );
Q_ASSERT( eh != NULL );
Commands::trigger( new Commands::Effect::Remove( eh, item->track()->trackWorkflow() ) );
Commands::trigger( new Commands::Effect::Remove( eh, eh->target() ) );
}
}
......
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