Skip to content

Commit

Permalink
Merge pull request #154 from mgavioli/Fix_#19463
Browse files Browse the repository at this point in the history
Fix #19463
  • Loading branch information
mgavioli committed Dec 27, 2012
2 parents 0f4127d + 115c5ef commit 67cc09d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmscore/select.cpp
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 67cc09d

Please sign in to comment.