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

Commands: Fix inverted logic

parent a973c4ad
......@@ -140,7 +140,7 @@ Commands::Clip::Add::internalUndo()
}
if ( m_videoInstanceUuid.isNull() == false )
{
if ( m_workflow->removeClip( m_videoInstanceUuid ) == nullptr )
if ( m_workflow->removeClip( m_videoInstanceUuid ) != nullptr )
emit Core::instance()->workflow()->clipRemoved( m_videoInstanceUuid.toString() );
else
invalidate();
......
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