Notes entered with wrong enharmonic spelling from MIDI input or "R" command in note input
In midi input, the default accidental choices are not in accord with some key signatures. For example, in Ab Major, G# and C# are chosen over Ab and Db.
Steps to reproduce:
1. create score with key signature of 4 flats.
2. Enter Ab Major scale using midi keyboard
Expected result: Ab and Db should be notated as part of the scale
Actual result: G# and C# are notated