[0.9.6 RTM] Crash on loading score where a key signature is selected
Tested in 0.9.6 stable under Windows XP
- Open (or create) a score with at least one key signature
- Click on the key signature to select it
- Save the score with the key signature selected and close it
- Re-load the score
The score is loaded and displayed.
This issue is similar, but not identical, to this one .
The offending code line is:
system.h, 124: System::staff(int staffIdx)
keysig.cpp, 70: KeySig::canvasPos()
apparently while clearing all selections during the loading process.
It seems like the KeySig::canvasPos() function is accessing the collection of systems before it is initialized (or created).