MusicXML import: no arpeggio on rests

This commit is contained in:
lasconic 2014-06-19 09:30:47 +02:00
parent 24a6b12f10
commit 9fd56d7e56

View file

@ -4361,8 +4361,8 @@ void MusicXml::xmlNotations(Note* note, ChordRest* cr, int trk, int ticks, QDomE
else
domError(ee);
}
if (!arpeggioType.isEmpty()) {
// no support for arpeggio on rest
if (!arpeggioType.isEmpty() && cr->type() == ElementType::CHORD) {
Arpeggio* a = new Arpeggio(score);
if (arpeggioType == "none")
a->setArpeggioType(ArpeggioType::NORMAL);