fix #21608: Multi-voice notes in the wrong place

This commit is contained in:
lasconic 2013-06-26 18:38:05 +02:00
parent 360fe58973
commit 723bcbd2e4

View file

@ -1789,11 +1789,11 @@ void Measure::read(XmlReader& e, int staffIdx)
segment->add(barLine);
}
else if (tag == "Chord") {
segment = getSegment(Segment::SegChordRest, e.tick());
Chord* chord = new Chord(score());
chord->setTrack(e.track());
chord->read(e);
segment = getSegment(Segment::SegChordRest, e.tick());
if (chord->noteType() != NOTE_NORMAL)
graceNotes.push_back(chord);