Fix #19463
After changing a note/chord value, arrow keys become ineffective
This commit is contained in:
parent
ddb0ebabb6
commit
115c5ef611
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue