Commit 5e5d8ffa authored by Julius Künzel's avatar Julius Künzel
Browse files

Archive Project: fix subtile files are not added to archive

BUG: 434401
Related to #973
parent 89a31330
......@@ -997,6 +997,13 @@ void ArchiveWidget::createArchive()
delete m_temp;
m_temp = nullptr;
}
if(success) {
// Add subtitle files if any
QString sub = pCore->currentDoc()->subTitlePath(false);
if (QFileInfo::exists(sub)) {
success = archive->addLocalFile(sub, m_name + QStringLiteral(".kdenlive.") + QFileInfo(sub).completeSuffix());
}
}
if (success) {
success = archive->close();
} else {
......
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