Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Multimedia
Kdenlive
Commits
c8bfab7b
Commit
c8bfab7b
authored
Apr 17, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/timeline2/model/timelinemodel.cpp
src/timeline2/model/timelinemodel.cpp
+1
-1
No files found.
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
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