Commit 3d27961c authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix timeline preview failing when creating a new project

Related to #993
parent c5087ab0
Pipeline #166845 passed with stage
in 7 minutes and 5 seconds
......@@ -103,6 +103,7 @@ void TimelineController::setModel(std::shared_ptr<TimelineItemModel> model)
m_lastVideoTarget = -1;
m_lastAudioTarget.clear();
m_timelinePreview = nullptr;
m_usePreview = false;
m_model = std::move(model);
m_activeSnaps.clear();
connect(m_model.get(), &TimelineItemModel::requestClearAssetView, pCore.get(), &Core::clearAssetPanel);
......
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