Commit 49699b4b authored by Julius Künzel's avatar Julius Künzel
Browse files

Fix default project path ignored on creating new project

BUG: 444595
FIXED-IN: 21.12.0
parent 10ea2299
......@@ -146,7 +146,11 @@ ProjectSettings::ProjectSettings(KdenliveDoc *doc, QMap<QString, QString> metada
m_previewparams = KdenliveSettings::previewparams();
m_previewextension = KdenliveSettings::previewextension();
custom_folder->setChecked(KdenliveSettings::customprojectfolder());
project_folder->setUrl(QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)));
if (!KdenliveSettings::defaultprojectfolder().isEmpty()) {
project_folder->setUrl(QUrl::fromLocalFile(KdenliveSettings::defaultprojectfolder()));
} else {
project_folder->setUrl(QUrl::fromLocalFile(QStandardPaths::writableLocation(QStandardPaths::CacheLocation)));
}
same_folder->setChecked(KdenliveSettings::sameprojectfolder());
}
......
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