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 crash caused by PR #16223 #17194

Merged
merged 1 commit into from
Apr 11, 2023
Merged

Conversation

asattely
Copy link
Contributor

There was a crash that could be encountered when Chord::computeUp is called before its beam is laid out. We fix this by making sure that the beam has valid layout data in it before trying to do anything with it.

computeUp can be called before the beam is laid out, so we need to do that if necessary
@Eism Eism merged commit c51ca08 into musescore:master Apr 11, 2023
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.

2 participants