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 | |
parent | de47ea9a35af067cd3602f375174beb9a616c062 (diff) |
fixed paste clipped clone bug
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 6 | ||||
-rw-r--r-- | muse2/muse/midiedit/scoreedit.cpp | 4 |
2 files changed, 6 insertions, 4 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; } diff --git a/muse2/muse/midiedit/scoreedit.cpp b/muse2/muse/midiedit/scoreedit.cpp index eb22342f..f4087ad2 100644 --- a/muse2/muse/midiedit/scoreedit.cpp +++ b/muse2/muse/midiedit/scoreedit.cpp @@ -4459,15 +4459,13 @@ void staff_t::update_part_indices() * o replace "insert" and "paste" by a paste-dialog ("move other notes" or "overwrite notes" or "mix with notes") * skip dialog when there is nothing to erase, move or merge with (i.e., at the end of the song) * o remove movePartsTotheRight function - * o ctrl+c copies selected parts, ctrl+shift+c only the selected range - * if no parts are selected, ctrl+shift+c copies all in range, otherwise - * "selected parts" intersected with "parts in range" * o ctrl+v uses default settings, ctrl+shift+v shows a dialog (with a "this is default" button) * o ctrl+b and ctrl+shift+b do the same, only that they paste as clones * * IMPORTANT TODO * ! o fix sigedit boxes * + * o rename stuff with F2 key * o redo transport menu: offer "one beat" and "one bar" steps * maybe also offer scrollbar * o quick "set left/right marker", "select between markers" |