Fix JSon array warning

parent 6bf2251f
......@@ -865,7 +865,10 @@ void ProjectManager::updateTimeline(int pos)
Mlt::Tractor tractor(s);
m_mainTimelineModel = TimelineItemModel::construct(&pCore->getCurrentProfile()->profile(), m_project->getGuideModel(), m_project->commandStack());
constructTimelineFromMelt(m_mainTimelineModel, tractor);
m_mainTimelineModel->loadGroups(m_project->getDocumentProperty(QStringLiteral("groups")));
const QString groupsData = m_project->getDocumentProperty(QStringLiteral("groups"));
if (!groupsData.isEmpty()) {
m_mainTimelineModel->loadGroups(groupsData);
}
m_project->loadThumbs();
pCore->monitorManager()->projectMonitor()->setProducer(m_mainTimelineModel->producer(), pos);
......
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