Skip to content

Commit

Permalink
fix #42021: color of drum palette notes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSabatella committed Dec 23, 2014
1 parent bf97799 commit af42c9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mscore/palette.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,9 @@ void Palette::paintEvent(QPaintEvent* /*event*/)
if (idx != selectedIdx) {
// show voice colors for notes
if (el->type() == Element::Type::CHORD) {
el->setSelected(true);
Chord* c = static_cast<Chord*>(el);
for (Note* n : c->notes())
n->setSelected(true);
color = el->curColor();
}
else
Expand Down

0 comments on commit af42c9e

Please sign in to comment.