Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5d6417aa authored by Juku Trump's avatar Juku Trump

Fix copy-pasting between different tracks

parent bf061c1e
......@@ -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