mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-11 17:13:37 +02:00
Bug1735: crash pasting copied part of Note track starting at > 0...
... See also commit 76a9962a5e
What was done there for Cut, should have been done too for Copy.
This commit is contained in:
@@ -498,7 +498,7 @@ Track::Holder NoteTrack::Copy(double t0, double t1, bool) const
|
||||
auto &seq = GetSeq();
|
||||
seq.convert_to_seconds();
|
||||
newTrack->mSeq.reset(seq.copy(t0 - GetOffset(), len, false));
|
||||
newTrack->SetOffset(GetOffset());
|
||||
newTrack->SetOffset(0);
|
||||
|
||||
// What should be done with the rest of newTrack's members?
|
||||
// (mBottomNote, mDirManager, mSerializationBuffer,
|
||||
|
Reference in New Issue
Block a user