musescore/MuseScore — pull request #53 by mgavioli (2012-08-30 11:20:07+00:00)
Title: Fix #17727

Removes a test ( is.cr() == 0 ) at the beginning of ScoreView::cmdAddPitch().

The test seems reasonable, but it prevents adding a note to a segment track if a ChordRest is not already there, which is precisely what happens with voices 2 to 4.

The InputState's ChrdRest is not used anywhere else in the function and the test seems redundant. The final call to score()->putNote() will add the needed segment ChordRest(s), if lacking (via expandVoice() ).

Some local tests with multi-voice scores did not exposed any side effect.