fix #83266: Repeat measure from MuseScore 1.3 is not imported correctly in MuseScore 2
This commit is contained in:
parent
6931c7fd5d
commit
dd4530ea50
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue