Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #286240: fix a crash on score save when editing a bracket #4811

Merged

Conversation

dmitrio95
Copy link
Contributor

Fixes https://musescore.org/en/node/286240.
Many parts of the ScoreView class code assume that edtiData.element is not a null pointer when the view is in edit mode. Meanwhile layout may delete some elements, and that resets editData.element. This commit ensures that the view also leaves edit mode if it happens.

@anatoly-os anatoly-os merged commit 36765c4 into musescore:master Mar 22, 2019
@dmitrio95 dmitrio95 deleted the 286240-bracket-edit-save-crash branch June 3, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants