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
66085873
Commit
66085873
authored
May 27, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix crash on undo selected clip insert
parent
456bb4fb
Changes
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
66085873
...
...
@@ -841,7 +841,7 @@ bool TimelineModel::requestClipMove(int clipId, int trackId, int position, bool
}
else
{
}
}
ok
=
ok
&&
getTrackById
(
trackId
)
->
requestClipInsertion
(
clipId
,
position
,
updateView
,
finalMove
,
local_undo
,
local_redo
,
groupMove
,
false
,
allowedClipMixes
);
ok
=
ok
&&
getTrackById
(
trackId
)
->
requestClipInsertion
(
clipId
,
position
,
updateView
,
finalMove
,
local_undo
,
local_redo
,
groupMove
,
old_trackId
==
-
1
,
allowedClipMixes
);
if
(
!
ok
)
{
qWarning
()
<<
"clip insertion failed"
;
...
...
Write
Preview
Supports
Markdown
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