diff options
author | Florian Jung <flo@windfisch.org> | 2011-08-31 17:12:19 +0000 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2011-08-31 17:12:19 +0000 |
commit | e6b32e0c06254a99b09133b39e4f7c06bd9ec6ed (patch) | |
tree | 4c4be0803f005374925ab04cd24870040854099a /muse2/muse/arranger/pcanvas.cpp | |
parent | de47ea9a35af067cd3602f375174beb9a616c062 (diff) |
fixed paste clipped clone bug
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 8380f446..b01f2046 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -2650,6 +2650,8 @@ void PartCanvas::copy_in_range(PartList* pl_) Part* p2; track->splitPart(part, lpos, p1, p2); + p1->events()->incARef(-1); + p2->events()->incARef(-1); part=p2; } @@ -2660,7 +2662,9 @@ void PartCanvas::copy_in_range(PartList* pl_) Part* p2; track->splitPart(part, rpos, p1, p2); - + p1->events()->incARef(-1); + p2->events()->incARef(-1); + part=p1; } |