diff layer/NoteLayer.cpp @ 83:01f27a282c90

* Fix failure to pull out values and durations when copying from a layer
author Chris Cannam
date Fri, 28 Apr 2006 12:52:17 +0000
parents 19bf27e4fb29
children 4b98bda7e94d
line wrap: on
line diff
--- a/layer/NoteLayer.cpp	Thu Apr 27 17:29:19 2006 +0000
+++ b/layer/NoteLayer.cpp	Fri Apr 28 12:52:17 2006 +0000
@@ -766,7 +766,7 @@
     for (NoteModel::PointList::iterator i = points.begin();
 	 i != points.end(); ++i) {
 	if (s.contains(i->frame)) {
-            Clipboard::Point point(i->frame, i->label);
+            Clipboard::Point point(i->frame, i->value, i->duration, i->label);
             to.addPoint(point);
         }
     }