Skip to content

Commit

Permalink
Merge pull request #4045 from Jojo-Schmitz/measure-crash
Browse files Browse the repository at this point in the history
fix #275805: Change actual duration after joining measures leads to crash
  • Loading branch information
anatoly-os committed Oct 24, 2018
2 parents edeabec + 7b2f8b0 commit 23710ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/measure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3358,7 +3358,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 23710ff

Please sign in to comment.