select rest (or top remaining note of chord) on note delete in note entry mode
This commit is contained in:
parent
51360dd9a5
commit
6243586d7b
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue