Crash on next-element when editing fingering with user text style
1) score with two notes
2) add fingering to first note
3) change text style to user-1
4) edit the fingering
5) press Space
We're trying to add a text to the second note, using the same text style as the previous element using cmdAddText(), which derives the element type from the text style. For user text styles, this will fail, but nowhere does the code check for failure, and at some point after that, it can crash (different results depending on element type).
While a simple fix is to add the necessary checks, better I think would be to actually force the correct element type to be created, so that's the approach I plan to try first.