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
7623b16b
Commit
7623b16b
authored
Dec 13, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix clip move incorrectly rejected
Fixes
#869
parent
8199a988
Changes
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/model/timelinemodel.cpp
View file @
7623b16b
...
...
@@ -2352,7 +2352,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
,
-
delta_pos
,
subPlaylist
))
{
if
(
!
getTrackById_const
(
current_track_id
)
->
isAvailable
(
target_position
,
playtime
,
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