Skip to content

Commit

Permalink
fix #294120: Insert measures in mmrest mode leads to corruption/crash
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmcclinch committed Sep 9, 2019
1 parent e36df56 commit c09d4b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libmscore/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1828,6 +1828,7 @@ void Score::createMMRest(Measure* m, Measure* lm, const Fraction& len)
mmr->setTick(m->tick());
undo(new ChangeMMRest(m, mmr));
}
mmr->setTimesig(m->timesig());
mmr->setPageBreak(lm->pageBreak());
mmr->setLineBreak(lm->lineBreak());
mmr->setMMRestCount(n);
Expand Down

0 comments on commit c09d4b0

Please sign in to comment.