select rest (or top remaining note of chord) on note delete in note entry mode

This commit is contained in:
Marc Sabatella 2015-08-17 20:01:41 -06:00
parent 51360dd9a5
commit 6243586d7b

View file

@ -2238,6 +2238,15 @@ void Score::cmdDeleteSelection()
}
deselectAll();
if (_is.noteEntryMode()) {
ChordRest* cr = _is.cr();
if (cr) {
if (cr->type() == Element::Type::CHORD)
select(static_cast<Chord*>(cr)->upNote(), SelectType::SINGLE);
else
select(cr, SelectType::SINGLE);
}
}
_layoutAll = true;
}