Barlines: span attributes were not read back correctly from file.
Probably a left-over from the switch to XmlReader.
This commit is contained in:
parent
91a0464242
commit
707bf228b3
1 changed files with 1 additions and 1 deletions
|
@ -374,9 +374,9 @@ void BarLine::read(XmlReader& e)
|
|||
else if (tag == "customSubtype")
|
||||
_customSubtype = e.readInt();
|
||||
else if (tag == "span") {
|
||||
_span = e.readInt();
|
||||
_spanFrom = e.intAttribute("from", _spanFrom);
|
||||
_spanTo = e.intAttribute("to", _spanTo);
|
||||
_span = e.readInt();
|
||||
// WARNING: following statements assume staff and staff bar line spans are correctly set
|
||||
if (staff() && (_span != staff()->barLineSpan()
|
||||
|| _spanFrom != staff()->barLineFrom() || _spanTo != staff()->barLineTo()))
|
||||
|
|
Loading…
Reference in a new issue