Skip to content

Commit

Permalink
fix #281321: Create irregular measures from second measure and follow…
Browse files Browse the repository at this point in the history
…ings results in corruption
  • Loading branch information
mattmcclinch committed Jan 8, 2019
1 parent a7d8eae commit 9ea575d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/edit.cpp
Expand Up @@ -3032,7 +3032,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);
Expand Down

0 comments on commit 9ea575d

Please sign in to comment.