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

Library: Don't mark the project as dirty after it has been loaded.

parent d0b1ee19
......@@ -81,6 +81,10 @@ Library::loadProject( const QDomElement& doc )
return ;
load( clips, this );
mediaLoaded( NULL );
//Mark the state as clean, as we just loaded a project. Otherwise, a media
//loading triggers a setCleanState(false) which makes sense when modifying
//project, but not here.
setCleanState(true);
}
void
......
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