summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2013-01-16 04:23:15 +0000
committerTim E. Real <termtech@rogers.com>2013-01-16 04:23:15 +0000
commit78d5201caed32cb1e55de85287bd3b9fab325bd4 (patch)
tree36cf004042091701361f05c6732f609a99366f48 /muse2/muse/arranger/pcanvas.cpp
parentd3a41b3460275ce44c744aa88227a31be44a49c7 (diff)
Various usability fixes. Please see ChangeLog.
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp
index b842a532..6a97bc99 100644
--- a/muse2/muse/arranger/pcanvas.cpp
+++ b/muse2/muse/arranger/pcanvas.cpp
@@ -2685,13 +2685,17 @@ void PartCanvas::cmd(int cmd)
case CMD_PASTE_CLONE_PART:
paste(true);
break;
+ case CMD_PASTE_PART_TO_TRACK:
+ paste(false, PASTEMODE_MIX, true);
+ break;
+ case CMD_PASTE_CLONE_PART_TO_TRACK:
+ paste(true, PASTEMODE_MIX, true);
+ break;
case CMD_PASTE_DIALOG:
- case CMD_PASTE_CLONE_DIALOG:
{
unsigned temp_begin = AL::sigmap.raster1(MusEGlobal::song->vcpos(),0);
unsigned temp_end = AL::sigmap.raster2(temp_begin + MusECore::get_paste_len(), 0);
paste_dialog->raster = temp_end - temp_begin;
- paste_dialog->clone = (cmd == CMD_PASTE_CLONE_DIALOG);
if (paste_dialog->exec())
{