Fix a nullpointer dereferencing
This commit is contained in:
parent
1d27005a2d
commit
7a5af5aabe
1 changed files with 1 additions and 1 deletions
|
@ -1511,7 +1511,7 @@ Element* readArticulation(ChordRest* cr, XmlReader& e)
|
|||
if (!el) {
|
||||
qDebug("not handled <%s>", qPrintable(tag.toString()));
|
||||
}
|
||||
if (!el->readProperties(e))
|
||||
if (!el || !el->readProperties(e))
|
||||
e.unknown();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue