musescore/MuseScore — pull request #677 by MarkRS-UK (2014-01-30 00:51:50+00:00)
Title: Issue #23298 - Stem lengths incorrect after a note in a chord is moved an octave

Calculates new line of moved note at the beginning of the move process.

I'm not altogether happy with this patch as it simply duplicates code into the beginning of the move process without removing it from the end (ode currently exists in Note::updateAccidental()). The "problem" that this causes is mostly philosophical, and partly extended runtime, tho' I'm sure it's not noticeable.

The problem is solved in piano scores, without unwanted side effects.