musescore/MuseScore — pull request #1091 by akdor1154 (2014-08-02 13:26:43+00:00)
Title: Fix #28781 and avoid selection.firstTick() segfault

This makes MIDI input while concert pitch is off result in appropriately transposed notes. I've also transposed the echoing of the MIDI input, as otherwise we play a different note based on whether 'Note Input Mode' is on or off, which is probably quite unexpected. Finally I've made a selection in list mode return valid (or invalid) ticks in tickStart and tickEnd, as otherwise I was triggering a segfault.