fix #65831: basic bend properties not written / read

This commit is contained in:
Marc Sabatella 2015-06-18 09:20:31 -06:00
parent eac0ed02f8
commit 8331ba5cb5

View file

@ -259,6 +259,7 @@ void Bend::write(Xml& xml) const
xml.tagE(QString("point time=\"%1\" pitch=\"%2\" vibrato=\"%3\"")
.arg(v.time).arg(v.pitch).arg(v.vibrato));
}
Element::writeProperties(xml);
xml.etag();
}
@ -277,7 +278,7 @@ void Bend::read(XmlReader& e)
_points.append(pv);
e.readNext();
}
else
else if (!Element::readProperties(e))
e.unknown();
}
}