Commit 471d0a30 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Make sure to reset effect stack when closing project and track stack displayed

parent e258f612
......@@ -229,6 +229,11 @@ void AssetPanel::showEffectStack(const QString &itemName, const std::shared_ptr<
void AssetPanel::clearAssetPanel(int itemId)
if (itemId == -1) {
// closing project, reset panel
ObjectId id = m_effectStackWidget->stackOwner();
if (id.first == ObjectType::TimelineClip && id.second == itemId) {
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