diff options
author | Florian Jung <flo@windfisch.org> | 2011-05-15 10:14:51 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-05-15 10:14:51 +0000 |
commit | a79460c36201572c453974a93e62903fe77fd824 (patch) | |
tree | 4add099dad68cb3a1a9a88ba196dbbdecb093f31 /muse2/muse/midiedit/dcanvas.cpp | |
parent | 0ec79fb4c59be4adb77d3dcbc068dee7107ed381 (diff) |
- changed lots of functions and moved them into functions.cpp
- delete overlaps may work differently, i haven't understood it fully
- added lots of dialogs for these functions
Diffstat (limited to 'muse2/muse/midiedit/dcanvas.cpp')
-rw-r--r-- | muse2/muse/midiedit/dcanvas.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/muse2/muse/midiedit/dcanvas.cpp b/muse2/muse/midiedit/dcanvas.cpp index a21f04c0..18463eb0 100644 --- a/muse2/muse/midiedit/dcanvas.cpp +++ b/muse2/muse/midiedit/dcanvas.cpp @@ -742,20 +742,6 @@ void DrumCanvas::cmd(int cmd) editor->setCurCanvasPart(newpt); } break; - case CMD_DEL: - if (selectionSize()) { - song->startUndo(); - for (iCItem i = items.begin(); i != items.end(); ++i) { - if (!i->second->isSelected()) - continue; - Event ev = i->second->event(); - // Indicate no undo, and do not do port controller values and clone parts. - //audio->msgDeleteEvent(ev, i->second->part(), false); - audio->msgDeleteEvent(ev, i->second->part(), false, false, false); - } - song->endUndo(SC_EVENT_REMOVED); - } - return; case CMD_SAVE: case CMD_LOAD: |