Skip to content

Commit

Permalink
Fix #19463
Browse files Browse the repository at this point in the history
After changing a note/chord value, arrow keys become ineffective
  • Loading branch information
mgavioli committed Dec 26, 2012
1 parent ddb0eba commit 115c5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ ChordRest* Selection::lastChordRest(int track) const
Element* el = _el[0];
if (el && el->type() == Element::NOTE)
return static_cast<ChordRest*>(el->parent());
else if (el->type() == Element::REST)
else if (el->type() == Element::CHORD || el->type() == Element::REST)
return static_cast<ChordRest*>(el);
return 0;
}
Expand Down

0 comments on commit 115c5ef

Please sign in to comment.