Crash on Join Measures if selection extends to end of score

• Jan 19, 2015 - 19:24
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Ubuntu 14.04, GIT commit: be86863

1) any score
2) select last two measures
3) Edit / Measures / Join Measures

Result: crash

Joiin Measures relies on Selection::measureRange() to return the range of measures, but that function does not work if the selection extends to the end of the score. endSegment() returns null, which needs to be special-cased. Fix forthcoming.


Comments