Skip to content

Commit

Permalink
Merge pull request #4291 from mattmcclinch/279215-measure-rest
Browse files Browse the repository at this point in the history
fix #279215: Time wise delete causes corruption in measures with measure rest
  • Loading branch information
anatoly-os committed Dec 5, 2018
2 parents 04ed367 + 225b589 commit 79b2d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/edit.cpp
Expand Up @@ -3013,7 +3013,7 @@ void Score::timeDelete(Measure* m, Segment* startSegment, const Fraction& f)
}

if (cr->isFullMeasureRest()) {
// do nothing
cr->setDuration(cr->duration() - f);
}
// inside deleted area
else if (s->rtick() >= tick && cetick <= etick) {
Expand Down

0 comments on commit 79b2d80

Please sign in to comment.