diff options
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/muse/midiedit/dcanvas.cpp | 4 | ||||
-rw-r--r-- | muse2/muse/midiedit/prcanvas.cpp | 2 |
2 files changed, 0 insertions, 6 deletions
diff --git a/muse2/muse/midiedit/dcanvas.cpp b/muse2/muse/midiedit/dcanvas.cpp index d4ee9999..fd046bc7 100644 --- a/muse2/muse/midiedit/dcanvas.cpp +++ b/muse2/muse/midiedit/dcanvas.cpp @@ -244,10 +244,6 @@ UndoOp DrumCanvas::moveItem(CItem* item, const QPoint& pos, DragType dtype) newEvent.setPitch(npitch); newEvent.setTick(ntick); - // msgAddEvent and msgChangeEvent (below) will set these, but set them here first? - //item->setPart(part); - item->setEvent(newEvent); - // Added by T356, removed by flo93: with operation groups, it happens that the // part is too short right now, even if it's queued for being extended //if(((int)newEvent.endTick() - (int)part->lenTick()) > 0) diff --git a/muse2/muse/midiedit/prcanvas.cpp b/muse2/muse/midiedit/prcanvas.cpp index 9e99f24d..75171bf5 100644 --- a/muse2/muse/midiedit/prcanvas.cpp +++ b/muse2/muse/midiedit/prcanvas.cpp @@ -467,8 +467,6 @@ UndoOp PianoCanvas::moveItem(CItem* item, const QPoint& pos, DragType dtype) newEvent.setTick(ntick); newEvent.setLenTick(event.lenTick()); - item->setEvent(newEvent); - // Added by T356, removed by flo93: with operation groups, it happens that the // part is too short right now, even if it's queued for being extended //if(((int)newEvent.endTick() - (int)part->lenTick()) > 0) |