fix #21211: Score is corrupt if glissando had been pasted

This commit is contained in:
lasconic 2013-06-05 23:24:53 +02:00
parent 632b56eed5
commit a09ce0a590

View file

@ -699,7 +699,7 @@ bool Element::readProperties(XmlReader& e)
}
else if (tag == "tick") {
int val = e.readInt();
if (type() != SYMBOL) // hack for 1.2
if (type() != SYMBOL && (type() != GLISSANDO || score()->mscVersion() > 114)) // hack for 1.2
e.setTick(score()->fileDivision(val));
}
else if (tag == "offset") { // ??obsolete -> used for volta