Commit 0bef61c5 authored by Clement CHAVANCE's avatar Clement CHAVANCE

clips can now be loaded from a project file

parent 33f16964
......@@ -73,6 +73,7 @@ void ClipListViewController::addClip( Clip* clip )
cell->setLength( clip->getLengthSecond(), false );
addCell( cell );
m_cells.insert( clip->getUuid(), cell );
cell->enableCell();
}
void ClipListViewController::clean()
......
......@@ -365,6 +365,8 @@ Library::loadProject( const QDomElement& medias )
else
{
addMedia( path, uuid, false );
//FIXME : this is ugly
importDone();
}
if ( clipList.size() != 0 )
{
......@@ -391,7 +393,6 @@ Library::loadProject( const QDomElement& medias )
elem = elem.nextSibling().toElement();
}
importDone();
emit projectLoaded();
}
......
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