mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 06:29:07 +02:00
Bug1735: crash pasting copied part of Note track starting at > 0...
... See also commit 76a9962a5e4901445ce9df290a8e623f7fb0ccec What was done there for Cut, should have been done too for Copy.
This commit is contained in:
parent
7314de6a3d
commit
47552acfc3
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user