1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-08 20:52:09 +01:00

Don't create placeholder clips in Duplicate command ...

... when there is no clip at the right edge of the selection.
This commit is contained in:
Paul Licameli
2016-11-26 08:48:08 -05:00
parent 65c722bfe5
commit 25619fb46e
9 changed files with 29 additions and 13 deletions

View File

@@ -454,7 +454,7 @@ Track::Holder NoteTrack::Cut(double t0, double t1)
return std::move(newTrack);
}
Track::Holder NoteTrack::Copy(double t0, double t1) const
Track::Holder NoteTrack::Copy(double t0, double t1, bool) const
{
if (t1 <= t0)
return{};