fix #83266: Repeat measure from MuseScore 1.3 is not imported correctly in MuseScore 2

This commit is contained in:
lasconic 2015-10-12 16:09:12 +01:00
parent 6931c7fd5d
commit dd4530ea50

View file

@ -2029,6 +2029,9 @@ void Measure::read(XmlReader& e, int staffIdx)
rm->read(e);
segment = getSegment(Segment::Type::ChordRest, e.tick());
segment->add(rm);
if (rm->actualDuration().isZero()) { // might happen with 1.3 scores
rm->setDuration(len());
}
lastTick = e.tick();
e.incTick(ticks());
}