Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
4b9dd5b1
Commit
4b9dd5b1
authored
Dec 03, 2019
by
Jean-Baptiste Mardelle
Browse files
Activate effect when adding it on the stack
parent
7792bb1f
Changes
2
Show whitespace changes
Inline
Side-by-side
src/effects/effectstack/view/effectstackview.cpp
View file @
4b9dd5b1
...
...
@@ -373,7 +373,7 @@ ObjectId EffectStackView::stackOwner() const
bool
EffectStackView
::
addEffect
(
const
QString
&
effectId
)
{
if
(
m_model
)
{
return
m_model
->
appendEffect
(
effectId
);
return
m_model
->
appendEffect
(
effectId
,
true
);
}
return
false
;
}
...
...
src/timeline2/model/clipmodel.cpp
View file @
4b9dd5b1
...
...
@@ -329,7 +329,7 @@ bool ClipModel::addEffect(const QString &effectId)
}
else
if
(
m_currentState
==
PlaylistState
::
AudioOnly
)
{
return
false
;
}
m_effectStack
->
appendEffect
(
effectId
);
m_effectStack
->
appendEffect
(
effectId
,
true
);
return
true
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment