Skip to content

Commit

Permalink
fix #23129: chordnames not propagated to parts if parts generated aft…
Browse files Browse the repository at this point in the history
…er score load
  • Loading branch information
lasconic committed Oct 11, 2013
1 parent 64e543d commit cc016f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions libmscore/excerpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ void cloneStaves(Score* oscore, Score* score, const QList<int>& map)
// it will not fit
ne->setReadPos(QPointF());
ne->setTrack(track == -1 ? 0 : track);
ne->setScore(score);
ns->add(ne);
}
}
Expand Down
5 changes: 5 additions & 0 deletions libmscore/harmony.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ Harmony::Harmony(const Harmony& h)
_parsedForm = h._parsedForm ? new ParsedChord(*h._parsedForm) : 0;
_textName = h._textName;
_userName = h._userName;
foreach(const TextSegment* s, h.textList) {
TextSegment* ns = new TextSegment();
ns->set(s->text, s->font, s->x, s->y);
textList.append(ns);
}
}

//---------------------------------------------------------
Expand Down

0 comments on commit cc016f8

Please sign in to comment.