Commit f5cbadbd authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

MediaListView: fixing bug when moving a clip

parent 5ac08f73
......@@ -124,8 +124,8 @@ MediaContainer::removeClip( const QUuid &uuid )
if ( it != m_clips.end() )
{
Clip* clip = it.value();
emit clipRemoved( it.value() );
m_clips.remove( uuid );
emit clipRemoved( clip );
return clip;
}
return NULL;
......
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