musescore/MuseScore — pull request #74 by vanferry (2012-09-12 08:31:35+00:00)
Title: try to get first chordrest/grace segment at first measure tick 0

in measure.cpp,
line 776: Segment* Measure::getSegment(Segment::SegmentType st, int t, int gl)
line 786: // find the first segment at tick >= t
doesn't check segment type, this will get clef segment, I add type check

there are several functions to get segment, can we combine them?