fix #32471: crash on setting drumset note to auto
This commit is contained in:
parent
b7c2b5e280
commit
b17ff7c5e6
1 changed files with 7 additions and 0 deletions
|
@ -835,6 +835,13 @@ void Chord::computeUp()
|
|||
if (_stemDirection != MScore::Direction::AUTO) {
|
||||
_up = _stemDirection == MScore::Direction::UP;
|
||||
}
|
||||
else if (!parent()) {
|
||||
// hack for palette and drumset editor
|
||||
if (upNote()->line() > 4)
|
||||
_up = true;
|
||||
else
|
||||
_up = false;
|
||||
}
|
||||
else if (_noteType != NoteType::NORMAL) {
|
||||
//
|
||||
// stem direction for grace notes
|
||||
|
|
Loading…
Reference in a new issue