Merge pull request #19787 from Eism/score_read_fix_4.1.1
Fixed reading the score. 4.1.1
This commit is contained in:
commit
7e6046e9e4
|
@ -208,6 +208,8 @@ bool Read400::readScore400(Score* score, XmlReader& e, ReadContext& ctx)
|
|||
} else if (e.name() == "initialPartId") {
|
||||
if (score->excerpt()) {
|
||||
score->excerpt()->setInitialPartId(ID(e.readInt()));
|
||||
} else {
|
||||
e.skipCurrentElement();
|
||||
}
|
||||
} else if (e.name() == "Tracklist") {
|
||||
int strack = e.intAttribute("sTrack", -1);
|
||||
|
|
|
@ -210,6 +210,8 @@ bool Read410::readScore410(Score* score, XmlReader& e, ReadContext& ctx)
|
|||
} else if (e.name() == "initialPartId") {
|
||||
if (score->excerpt()) {
|
||||
score->excerpt()->setInitialPartId(ID(e.readInt()));
|
||||
} else {
|
||||
e.skipCurrentElement();
|
||||
}
|
||||
} else if (e.name() == "Tracklist") {
|
||||
int strack = e.intAttribute("sTrack", -1);
|
||||
|
|
Loading…
Reference in New Issue