Skip to content

Commit

Permalink
fix #27966: volta end hooks missing from 1.3 scores
Browse files Browse the repository at this point in the history
restore comment
  • Loading branch information
MarcSabatella committed Jul 23, 2014
1 parent 010d395 commit f9a5d67
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions libmscore/volta.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,11 @@ void Volta::read(XmlReader& e)
setLineWidth(Spatium(e.readDouble()));
lineWidthStyle = PropertyStyle::UNSTYLED;
}
else if (tag == "subtype") // obsolete
e.readInt();
else if (tag == "subtype") { // obsolete
int st = e.readInt();
if (st == 1)
setEndHook(true);
}
else if (!TextLine::readProperties(e))
e.unknown();
}
Expand Down

0 comments on commit f9a5d67

Please sign in to comment.