fix #45171: prefer octave to unison when stacking new notes in a chord

This commit is contained in:
lasconic 2015-02-19 16:31:12 +01:00
parent 18244eb250
commit e2eb0cb0dd

View file

@ -4883,7 +4883,7 @@ void ScoreView::cmdAddPitch(int note, bool addFlag)
Chord* chord = static_cast<Note*>(el)->chord();
Note* n = chord->upNote();
octave = n->epitch() / 12;
if (tab[note] < n->epitch() % 12)
if (tab[note] <= n->epitch() % 12)
octave++;
}
else {