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
a78d04de
Commit
a78d04de
authored
Feb 20, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix crash on insert track. Related to
#573
parent
70618a98
Pipeline
#15347
passed with stage
in 17 minutes and 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
a78d04de
...
...
@@ -2268,7 +2268,7 @@ bool TimelineModel::requestTrackInsertion(int position, int &id, const QString &
if
(
previousId
>
-
1
)
{
for
(
auto
&
compo
:
m_allCompositions
)
{
if
(
compo
.
second
->
getATrack
()
==
position
&&
compo
.
second
->
getForcedTrack
()
==
-
1
)
{
compo
.
second
->
setATrack
(
position
+
1
,
previousId
);
compo
.
second
->
setATrack
(
position
+
1
,
-
1
);
}
}
}
...
...
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