]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.cpp
First steps to save timeline clip groups
[kdenlive] / src / kdenlivedoc.cpp
index 388de5851600323c684972fbb07d01bfe20a8887..826413acf5b4c511005200d1058d350c0c7dd4fd 100644 (file)
@@ -984,8 +984,13 @@ bool KdenliveDoc::saveSceneList(const QString &path, const QString &scene) {
         }
     }
     addedXml.appendChild(markers);
+
+    // Add guides
     if (!m_guidesXml.isNull()) addedXml.appendChild(sceneList.importNode(m_guidesXml, true));
 
+    // Add clip groups
+    addedXml.appendChild(sceneList.importNode(m_clipManager->groupsXml(), true));
+
     //wes.appendChild(doc.importNode(kdenliveData, true));
 
     QFile file(path);