Switching tab and undo redo causes crash
Musescore b5332dd7c6
- Open a score, any score
- Create another score, add 4 quarter note in a measure but not the two first one
- Copy this measure, and paste it in the first measure
- Select the first measure and insert a measure before it
- Undo twice
- Switch to the first score
- Switch back the the score and Redo twice
Result: Crash
Discussion: If you don't switch to another score, there is no crash. My best guess is that the undo history is broken because the score is relayouted when we switch back to it. Relayouting will call undo() several times (like in addsystemheader) and that could break the history.
Comments
Fixed in f7f46859f7
Automatically closed -- issue fixed for 2 weeks with no activity.