13
0

Do not duplicate note id in copy constructor

This fixes selection undo after copy-dragging notes, but there
are probably other cases where duplicate note ids may cause problems.
This commit is contained in:
nick_m 2017-06-08 23:11:56 +10:00
parent 3d5f21a3e5
commit d455806a73

View File

@ -57,8 +57,6 @@ Note<Time>::Note(const Note<Time>& copy)
: _on_event(copy._on_event, true)
, _off_event(copy._off_event, true)
{
set_id (copy.id());
assert(_on_event.buffer());
assert(_off_event.buffer());
/*