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

Fix crash removing a fade effect added twice.

BUG: 425175
parent 35acc609
Pipeline #30366 passed with stage
in 35 minutes and 49 seconds
......@@ -755,6 +755,8 @@ bool EffectStackModel::removeFade(bool fromStart)
// Let's put index in reverse order so we don't mess when deleting
std::reverse( toRemove.begin(), toRemove.end() );
for (int i : toRemove) {
std::shared_ptr<EffectItemModel> effect = std::static_pointer_cast<EffectItemModel>(rootItem->child(i));
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