[Trunk] Selecting "Time Signatures" causes crash

• Jul 12, 2011 - 00:49
Type
Functional
Severity
S2 - Critical
Status
closed
Project

I'm using the nightly build for Windows (Win7 64bit )

Whenever the Time Signatures palette is selected (either from the palette OR directly from the menu) Musescore immediately crashes. Create a new score with any instrument, any key, any time signature.

This happens on r4504 and r4506


Comments

Status (old) active patch (ready to commit)

This happens because the function drawing the time signature first checks if the stave to which the time sig belongs has time sig display turned off. But time sigs in palette belong to no stave, of course!

The attached patch corrects the issue by adding the proper check to function TimeSig::draw() in file timesig.cpp.

M.

Attachment Size
trunk_timesig_cpp_crashonpaletteopen.patch 649 bytes