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 on adding multiple guitar pre-bends or grace-note-bends #26115

Merged
merged 2 commits into from
Jan 29, 2025

Conversation

mike-spa
Copy link
Contributor

Resolves: #25817

addGuitarBend is expected to return null if the start note isn't suitable to add the required type of bend, so it's output must be null-checked.

@DmitryArefiev DmitryArefiev self-assigned this Jan 17, 2025
@DmitryArefiev
Copy link
Contributor

Tested #25817 on Win10, Mac13.6, LinuxUbuntu24.04.1 LTS - FIXED

src/engraving/dom/note.cpp Outdated Show resolved Hide resolved
src/engraving/dom/note.cpp Outdated Show resolved Hide resolved
@mike-spa mike-spa force-pushed the fixCrashOnAddGuitarPreBend branch from e2d8742 to 9b2eda8 Compare January 29, 2025 11:11
@mike-spa mike-spa merged commit 5823be4 into musescore:master Jan 29, 2025
11 checks passed
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.

Crash when adding pre-bend or grace note bend several times
4 participants