Merge pull request #4548 from mattmcclinch/281321-time-delete
fix #281321: Create irregular measures from second measure and following results in corruption
This commit is contained in:
commit
6d522eedb1
1 changed files with 1 additions and 1 deletions
|
@ -3040,7 +3040,7 @@ void Score::timeDelete(Measure* m, Segment* startSegment, const Fraction& f)
|
|||
undoRemoveElement(cr);
|
||||
ChordRest* newCR = toChordRest(cr->clone());
|
||||
newCR->setDuration(cr->duration() - f);
|
||||
undoAddCR(newCR, m, etick);
|
||||
undoAddCR(newCR, m, m->tick() + etick);
|
||||
}
|
||||
else
|
||||
cr->undoChangeProperty(Pid::DURATION, cr->duration() - f);
|
||||
|
|
Loading…
Reference in a new issue