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

Activate effect when adding it on the stack

parent 7792bb1f
...@@ -373,7 +373,7 @@ ObjectId EffectStackView::stackOwner() const ...@@ -373,7 +373,7 @@ ObjectId EffectStackView::stackOwner() const
bool EffectStackView::addEffect(const QString &effectId) bool EffectStackView::addEffect(const QString &effectId)
{ {
if (m_model) { if (m_model) {
return m_model->appendEffect(effectId); return m_model->appendEffect(effectId, true);
} }
return false; return false;
} }
......
...@@ -329,7 +329,7 @@ bool ClipModel::addEffect(const QString &effectId) ...@@ -329,7 +329,7 @@ bool ClipModel::addEffect(const QString &effectId)
} else if (m_currentState == PlaylistState::AudioOnly) { } else if (m_currentState == PlaylistState::AudioOnly) {
return false; return false;
} }
m_effectStack->appendEffect(effectId); m_effectStack->appendEffect(effectId, true);
return true; 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