Skip to content
GitLab
Menu
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
8b6d08d8
Commit
8b6d08d8
authored
Jun 09, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash on disabled clip undo / redo insert.
Related to
#714
parent
48d199ad
Pipeline
#23083
passed with stage
in 25 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/effects/effectstack/model/effectstackmodel.cpp
View file @
8b6d08d8
...
...
@@ -85,7 +85,7 @@ void EffectStackModel::removeService(const std::shared_ptr<Mlt::Service> &servic
std
::
vector
<
int
>
to_delete
;
for
(
int
i
=
int
(
m_childServices
.
size
())
-
1
;
i
>=
0
;
--
i
)
{
auto
ptr
=
m_childServices
[
uint
(
i
)].
lock
();
if
(
service
->
get_int
(
"_childid"
)
==
ptr
->
get_int
(
"_childid"
))
{
if
(
ptr
&&
service
->
get_int
(
"_childid"
)
==
ptr
->
get_int
(
"_childid"
))
{
for
(
int
j
=
0
;
j
<
rootItem
->
childCount
();
++
j
)
{
std
::
static_pointer_cast
<
EffectItemModel
>
(
rootItem
->
child
(
j
))
->
unplantClone
(
ptr
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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