]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.cpp
Use separate counters for Clips and Folders:
[kdenlive] / src / kdenlivedoc.cpp
index 050dce8ee7166837dd7c7c74f03e58c061d5fe7e..0a3fa721d2c699b8d4b343955d8fa0c07f0d78d8 100644 (file)
@@ -1363,7 +1363,7 @@ void KdenliveDoc::slotAddClipFile(const KUrl url, const QString group, const QSt
 }
 
 void KdenliveDoc::slotAddFolder(const QString folderName) {
-    AddFolderCommand *command = new AddFolderCommand(this, folderName, QString::number(m_clipManager->getFreeClipId()), true);
+    AddFolderCommand *command = new AddFolderCommand(this, folderName, QString::number(m_clipManager->getFreeFolderId()), true);
     commandStack()->push(command);
     setModified(true);
 }