X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmainwindow.cpp;h=387906a16dbcd5d482a6d0b980d4bf95dfed0ecd;hb=56f69242fee94baa6a0ed504b9cc51e0b5eb04ae;hp=7e2ed60c1148eac302c0e9719be16fb355115f91;hpb=a2c24f464fb0036b6549896aeb47907928654a9d;p=kdenlive diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 7e2ed60c..387906a1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -934,7 +934,8 @@ void MainWindow::closeCurrentDocument() { } void MainWindow::saveFileAs(const QString &outputFileName) { - m_projectMonitor->saveSceneList(outputFileName, m_activeDocument->documentInfoXml()); + QDomDocument currentSceneList = m_projectMonitor->sceneList(); + m_activeDocument->saveSceneList(outputFileName, currentSceneList); m_activeDocument->setUrl(KUrl(outputFileName)); if (m_activeDocument->m_autosave == NULL) { m_activeDocument->m_autosave = new KAutoSaveFile(KUrl(outputFileName), this);