Fix render test suite crashing

This commit is contained in:
Jean-Baptiste Mardelle
2025-12-04 15:21:26 +01:00
parent c16ea7a77d
commit 0e4f0904d3

View File

@@ -1830,7 +1830,7 @@ void KdenliveDoc::loadDocumentProperties()
QString name;
QDomElement e;
const QString bins = Xml::getXmlProperty(pl, QStringLiteral("kdenlive:extraBins"));
if (!bins.isEmpty()) {
if (pCore->window() && !bins.isEmpty()) {
pCore->window()->loadBins(bins.split(QLatin1Char(';')));
}
for (int i = 0; i < props.count(); i++) {