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
c8bfab7b
Commit
c8bfab7b
authored
Apr 17, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix missing parameter in group move causing possible freeze/crash on group move
parent
7eeb8df5
Pipeline
#18518
passed with stage
in 9 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
c8bfab7b
...
...
@@ -2941,7 +2941,7 @@ bool TimelineModel::requestCompositionMove(int compoId, int trackId, int positio
int
track_pos2
=
getTrackPosition
(
current_trackId
);
int
delta_track
=
track_pos1
-
track_pos2
;
int
delta_pos
=
position
-
m_allCompositions
[
compoId
]
->
getPosition
();
return
requestGroupMove
(
compoId
,
groupId
,
delta_track
,
delta_pos
,
updateView
,
logUndo
);
return
requestGroupMove
(
compoId
,
groupId
,
delta_track
,
delta_pos
,
true
,
updateView
,
logUndo
);
}
std
::
function
<
bool
(
void
)
>
undo
=
[]()
{
return
true
;
};
std
::
function
<
bool
(
void
)
>
redo
=
[]()
{
return
true
;
};
...
...
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