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
6d8e6f52
Commit
6d8e6f52
authored
Mar 18, 2020
by
Jean-Baptiste Mardelle
Browse files
Ensure audio track is inserted at correct position if no existing audio
parent
c5ae08cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeline2/view/dialogs/trackdialog.cpp
View file @
6d8e6f52
...
...
@@ -85,7 +85,8 @@ int TrackDialog::selectedTrackPosition() const
}
return
position
;
}
return
-
1
;
bool
audioMode
=
audio_track
->
isChecked
()
||
arec_track
->
isChecked
();
return
audioMode
?
0
:
-
1
;
}
int
TrackDialog
::
selectedTrackId
()
const
...
...
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