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 #301834: crash when changing local time signature to another one with same duration #5773

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

Harmoniker1
Copy link
Contributor

@Harmoniker1 Harmoniker1 commented Mar 1, 2020

Resolves: https://musescore.org/node/301834.

This is because it doesn't check whether the time signature is local or not, so it always goes to every staff and trys to find a time signature segment, causing nullptr.

libmscore/edit.cpp Outdated Show resolved Hide resolved
@Harmoniker1 Harmoniker1 force-pushed the local-timesig-crash branch from 33d4847 to d52c012 Compare April 1, 2020 08:31
libmscore/edit.cpp Outdated Show resolved Hide resolved
@Harmoniker1 Harmoniker1 force-pushed the local-timesig-crash branch from d52c012 to 8b29278 Compare April 1, 2020 13:43
…with same duration

This is because it doesn't check whether the time signature is local or not, so it always goes to every staff and trys to find a time signature segment, causing `nullptr`.
@Harmoniker1 Harmoniker1 force-pushed the local-timesig-crash branch from 8b29278 to 9d94c33 Compare April 5, 2020 22:07
@Harmoniker1 Harmoniker1 changed the base branch from master to 3.x May 28, 2020 09:00
@anatoly-os anatoly-os merged commit cc50e7a into musescore:3.x Jun 3, 2020
@Harmoniker1 Harmoniker1 deleted the local-timesig-crash branch June 3, 2020 11:59
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.

3 participants