Commit a8dd7d51 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix bug preventing sequential names when making serveral script renderings from same project

parent e22da753
Pipeline #6089 passed with stage
in 15 minutes and 42 seconds
......@@ -1165,6 +1165,9 @@ void RenderWidget::prepareRendering(bool delayedRendering, const QString &chapte
renderName = QFileInfo(pCore->currentDoc()->url().toLocalFile()).fileName();
if (renderName.isEmpty()) {
renderName = i18n("export") + QStringLiteral(".mlt");
} else {
renderName = renderName.section(QLatin1Char('.'), 0, -2);
renderName.append(QStringLiteral(".mlt"));
}
QDir projectFolder(pCore->currentDoc()->projectDataFolder());
projectFolder.mkpath(QStringLiteral("kdenlive-renderqueue"));
......
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