Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Fix view corruption on group move (video clip incorrectly allowed on audio track)

parent 6889262c
......@@ -957,8 +957,9 @@ Rectangle {
var track = tracksRepeater.itemAt(activeTrack)
//console.log('Dragging clip ',clip.clipId,' to track: ', activeTrack, ' - ', y)
if (controller.requestClipMove(clip.clipId, track.trackId, frame, false, false, false)) {
timeline.activeTrack = track.trackId
// Query the model to make sure on which track the clip is
timeline.activeTrack = controller.getClipTrackId(clip.clipId)
track = Logic.getTrackById(timeline.activeTrack)
clip.height = track.height
clip.y = track.y - Logic.getTrackById(clip.originalTrackId).y
clip.trackId = track.trackId
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment