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

Clip: Fix saving when the parent is in the workspace.

parent 31a5f9e2
......@@ -232,7 +232,7 @@ Clip::save( QXmlStreamWriter &project )
if ( isRootClip() == true )
{
if ( m_media->isInWorkspace() == true )
project.writeAttribute( "media", Workspace::pathInProjectDir( m_media ) );
project.writeAttribute( "media", Workspace::workspacePrefix + Workspace::pathInProjectDir( m_media ) );
else
project.writeAttribute( "media", m_media->fileInfo()->absoluteFilePath() );
}
......
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