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 #288383: Crash when inserting notes in voice 2 when first rest is deleted #4972

Merged
merged 1 commit into from
Apr 29, 2019

Conversation

mattmcclinch
Copy link
Contributor

@mattmcclinch mattmcclinch commented Apr 29, 2019

Resolves: https://musescore.org/en/node/288383.

InputState::nextInputPos() was not returning the appropriate segment when it encountered a gap in voice 2 that was of a different duration than the rest in voice 1. This is because the loop was ending too early due to the fact that m was no longer equal to s->measure(). This could have been a one-line fix, but I took this opportunity to remove the double check for if (s->element(_track)).

@dmitrio95 dmitrio95 merged commit 8cd11ed into musescore:master Apr 29, 2019
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