fix #283319: Time Signature disappears

This commit is contained in:
Matt McClinch 2019-09-20 00:55:31 -04:00
parent 59794feb41
commit da507a5dc9

View file

@ -2415,7 +2415,7 @@ bool MStyle::readProperties(XmlReader& e)
e.readElementText();
}
else if (!strcmp("QSizeF", type)) {
qreal x = e.intAttribute("w", 0);
qreal x = e.doubleAttribute("w", 0.0);
qreal y = e.doubleAttribute("h", 0.0);
set(idx, QSizeF(x, y));
e.readElementText();