Use project name as default render name.

Fixes #512
parent a82732e0
Pipeline #12805 passed with stage
in 13 minutes and 48 seconds
......@@ -1893,7 +1893,7 @@ QUrl RenderWidget::filenameWithExtension(QUrl url, const QString &extension)
url = QUrl::fromLocalFile(pCore->currentDoc()->projectDataFolder() + QDir::separator());
}
QString directory = url.adjusted(QUrl::RemoveFilename).toLocalFile();
QString filename = url.fileName();
QString filename = pCore->currentDoc()->url().fileName();
QString ext;
if (extension.at(0) == '.') {
......
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