Commit 43e78433 authored by Julius Künzel's avatar Julius Künzel
Browse files

Update effect zones on effect deletion

parent 4c668d8c
......@@ -213,6 +213,7 @@ void EffectStackModel::removeEffect(const std::shared_ptr<EffectItemModel> &effe
} else if (outFades < 0) {
pCore->updateItemModel(m_ownerId, QStringLiteral("fadeout"));
}*/
updateEffectZones();
pCore->updateItemKeyframes(m_ownerId);
return true;
};
......@@ -226,6 +227,7 @@ void EffectStackModel::removeEffect(const std::shared_ptr<EffectItemModel> &effe
roles << TimelineModel::FadeOutRole;
}
emit dataChanged(QModelIndex(), QModelIndex(), roles);
updateEffectZones();
pCore->updateItemKeyframes(m_ownerId);
return true;
};
......
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