File tree 1 file changed +2
-4
lines changed
src/importexport/musicxml/internal/musicxml/import
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -8503,10 +8503,7 @@ void MusicXmlParserNotations::arpeggio()
8503
8503
if (m_arpeggioNo == 0 ) {
8504
8504
m_arpeggioNo = 1 ;
8505
8505
}
8506
- Color color = Color::fromString (m_e.attribute (" color" ));
8507
- if (color.isValid ()) {
8508
- m_arpeggioColor = color;
8509
- }
8506
+ m_arpeggioColor = Color::fromString (m_e.attribute (" color" ));
8510
8507
m_e.skipCurrentElement (); // skip but don't log
8511
8508
}
8512
8509
@@ -8993,6 +8990,7 @@ void MusicXmlParserNotations::parse()
8993
8990
} else if (m_e.name () == " glissando" ) {
8994
8991
glissandoSlide ();
8995
8992
} else if (m_e.name () == " non-arpeggiate" ) {
8993
+ m_arpeggioColor = Color::fromString (m_e.attribute (" color" ));
8996
8994
m_arpeggioType = u" non-arpeggiate" ;
8997
8995
m_e.skipCurrentElement (); // skip but don't log
8998
8996
} else if (m_e.name () == " ornaments" ) {
You can’t perform that action at this time.
0 commit comments