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

Fix crash opening old project file

BUG: 419563
parent 88013146
......@@ -1777,7 +1777,7 @@ bool DocumentValidator::upgrade(double version, const double currentVersion)
// AV clips are not supported anymore. Check if we have some and add extra audio tracks if necessary
// Update the main bin name as well to be xml compliant
for (int i = 0; i < playlists.count(); i++) {
if ("id")) == QLatin1String("main bin")) {
if ("id")) == QLatin1String("main bin") ||"id")) == QLatin1String("main_bin")) {"id"), BinPlaylist::binPlaylistId);
mainplaylist =;
QString oldGroups = Xml::getXmlProperty(mainplaylist.toElement(), QStringLiteral("kdenlive:clipgroups"));
Supports Markdown
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