Commit ab252a2c authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle

Merge branch 'refactoring_timeline' into 'refactoring_timeline'

Fix copy-pasting between different tracks

See merge request kde/kdenlive!13
parents a38f8d3f 5d6417aa
......@@ -927,10 +927,10 @@ int TimelineFunctions::getTrackOffset(std::shared_ptr<TimelineItemModel> timelin
int track = masterTrackMltIndex;
while (track != destTrackMltIndex) {
track += step;
qDebug()<<"+ + +TRSTING TRACK: "<<track;
qDebug()<<"+ + +TESTING TRACK: "<<track;
int trackId = timeline->getTrackIndexFromPosition(track - 1);
if (isAudio == timeline->isAudioTrack(trackId)) {
offset ++;
offset += step;
}
}
return offset;
......
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