fix #21211: Score is corrupt if glissando had been pasted
This commit is contained in:
parent
632b56eed5
commit
a09ce0a590
1 changed files with 1 additions and 1 deletions
|
@ -699,7 +699,7 @@ bool Element::readProperties(XmlReader& e)
|
||||||
}
|
}
|
||||||
else if (tag == "tick") {
|
else if (tag == "tick") {
|
||||||
int val = e.readInt();
|
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));
|
e.setTick(score()->fileDivision(val));
|
||||||
}
|
}
|
||||||
else if (tag == "offset") { // ??obsolete -> used for volta
|
else if (tag == "offset") { // ??obsolete -> used for volta
|
||||||
|
|
Loading…
Reference in a new issue