Skip to content

Commit

Permalink
fix #275805: Change actual duration after joining measures leads to c…
Browse files Browse the repository at this point in the history
…rash

as per https://musescore.org/en/node/275805#comment-851139, adjusted to
a meanwhile changed line number
  • Loading branch information
Jojo-Schmitz committed Oct 20, 2018
1 parent bee7755 commit 7b2f8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/measure.cpp
Expand Up @@ -3360,7 +3360,7 @@ qreal Measure::createEndBarLines(bool isLastMeasureInSystem)
else {
BarLineType t = nm ? BarLineType::NORMAL : BarLineType::END;
if (!seg)
seg = undoGetSegmentR(SegmentType::EndBarLine, ticks());
seg = getSegmentR(SegmentType::EndBarLine, ticks());
seg->setEnabled(true);
//
// Set flag "hasCourtesyKeySig" if this measure needs a courtesy key sig.
Expand Down

0 comments on commit 7b2f8b0

Please sign in to comment.