fix #279172: skip <timeStretch> correctly if not handled on 2.X import

This commit is contained in:
Dmitri Ovodok 2018-12-04 15:00:42 +02:00
parent 116866dab7
commit f4d8604865

View file

@ -2482,6 +2482,10 @@ Element* readArticulation(ChordRest* cr, XmlReader& e)
else if (tag == "timeStretch") {
if (el && el->isFermata())
el->setProperty(Pid::TIME_STRETCH ,e.readDouble());
else {
qDebug("line %lld: read206: skipping <timeStretch>", e.lineNumber());
e.skipCurrentElement();
}
}
else {
if (!el) {