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
dfc4097e
Commit
dfc4097e
authored
Jul 24, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix another grouped mix move crash
parent
84a00836
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
dfc4097e
...
...
@@ -2897,8 +2897,10 @@ bool TimelineModel::removeMixWithUndo(int cid, Fun &undo, Fun &redo)
int
tid
=
getItemTrackId
(
cid
);
if
(
isTrack
(
tid
))
{
MixInfo
mixData
=
getTrackById_const
(
tid
)
->
getMixInfo
(
cid
).
first
;
bool
res
=
getTrackById
(
tid
)
->
requestRemoveMix
({
mixData
.
firstClipId
,
mixData
.
secondClipId
},
undo
,
redo
);
return
res
;
if
(
mixData
.
firstClipId
>
-
1
&&
mixData
.
secondClipId
>
-
1
)
{
bool
res
=
getTrackById
(
tid
)
->
requestRemoveMix
({
mixData
.
firstClipId
,
mixData
.
secondClipId
},
undo
,
redo
);
return
res
;
}
}
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