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
f305f37d
Commit
f305f37d
authored
Jun 09, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix right clip of a mix cannot be moved backwards
parent
64722e24
Pipeline
#64881
passed with stage
in 8 minutes and 29 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
f305f37d
...
...
@@ -2355,7 +2355,7 @@ bool TimelineModel::requestGroupMove(int itemId, int groupId, int delta_track, i
if
(
getTrackById_const
(
current_track_id
)
->
hasStartMix
(
item
.
first
))
{
subPlaylist
=
m_allClips
[
item
.
first
]
->
getSubPlaylistIndex
();
}
if
(
!
getTrackById_const
(
current_track_id
)
->
isAvailable
(
target_position
,
playtime
,
subPlaylist
))
{
if
(
!
getTrackById_const
(
current_track_id
)
->
isAvailable
(
target_position
,
current_in
-
target_position
,
subPlaylist
))
{
if
(
!
getTrackById_const
(
current_track_id
)
->
isBlankAt
(
current_in
-
1
))
{
// No move possible, abort
bool
undone
=
local_undo
();
...
...
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