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
b5b08387
Commit
b5b08387
authored
May 07, 2019
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix composition tracks listed in reverse order
parent
c9f551ba
Pipeline
#3380
passed with stage
in 19 minutes and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/transitions/view/transitionstackview.cpp
src/transitions/view/transitionstackview.cpp
+4
-3
No files found.
src/transitions/view/transitionstackview.cpp
View file @
b5b08387
...
...
@@ -46,11 +46,12 @@ void TransitionStackView::refreshTracks()
}
QSignalBlocker
bk
(
m_trackBox
);
m_trackBox
->
clear
();
QMapIterator
<
int
,
QString
>
i
(
pCore
->
getVideoTrackNames
());
QPair
<
int
,
int
>
aTrack
=
pCore
->
getCompositionATrack
(
m_model
->
getOwnerId
().
second
);
m_trackBox
->
addItem
(
i18n
(
"Automatic"
),
-
1
);
while
(
i
.
hasNext
())
{
i
.
next
();
QMapIterator
<
int
,
QString
>
i
(
pCore
->
getVideoTrackNames
());
i
.
toBack
();
while
(
i
.
hasPrevious
())
{
i
.
previous
();
if
(
i
.
key
()
<
aTrack
.
second
)
{
m_trackBox
->
addItem
(
i
.
value
(),
i
.
key
());
}
...
...
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