When the arrange view grid is set to "Measure", the API function SetMIDIEditorGrid stops functioning correctly, and always sets the MIDI editor grid to "Measure" as well. This behavior does not seem to be affected by any particular setting.
Steps to reproduce:
1. Set arrange view grid to "Measure"
2. Run the SetMIDIEditorGrid function, e.g.
Code:
reaper.SetMIDIEditorGrid(0, 0.25)
3. Instead of being set to quarter notes, the grid in the MIDI editor is set to "Measure"