Fix #293998 : Fig. Bass continuation lines disappearing
The issue was a consequence of the switch to fractions in 3.1: the ticks of a Fig. Bass element were written in the file as fraction but read back as an `int`, which in most cases resulted in a 0-duration element.
This commit is contained in:
parent
438ab6bf88
commit
c81fa7300a
1 changed files with 1 additions and 1 deletions
|
@ -1080,7 +1080,7 @@ void FiguredBass::read(XmlReader& e)
|
|||
while (e.readNextStartElement()) {
|
||||
const QStringRef& tag(e.name());
|
||||
if (tag == "ticks")
|
||||
setTicks(Fraction::fromTicks(e.readInt()));
|
||||
setTicks(e.readFraction());
|
||||
else if (tag == "onNote")
|
||||
setOnNote(e.readInt() != 0l);
|
||||
else if (tag == "FiguredBassItem") {
|
||||
|
|
Loading…
Reference in a new issue