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

[Inspector] fix #298272, fix #298363: inspector title issues #5522

Merged
merged 4 commits into from
Jan 15, 2020

Conversation

Harmoniker1
Copy link
Contributor

@Harmoniker1 Harmoniker1 commented Dec 8, 2019

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

&&

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

From 2.x to 3.x, a change was made which leaded to the issue: if oSameTypes != sameTypes, inspectors will not be updated. Even if slur and tie/breath and caesura/articulation and ornament are both selected, for each group sameType will continue to give true, and so the inspector is not updated.

This patch adds another field: sameSubtypes. If sameTypes is true but the subtypes are different, the inspector will be updated too.

@Harmoniker1 Harmoniker1 force-pushed the ornament-inspector branch 4 times, most recently from a9d82c6 to b3d369a Compare December 10, 2019 08:59
@Harmoniker1 Harmoniker1 changed the title fix #298272: inspector of ornaments is titled "Articulation" fix #298272, fix #298363: inspector issues Dec 10, 2019
@Harmoniker1 Harmoniker1 force-pushed the ornament-inspector branch 3 times, most recently from 61236ab to 88227c3 Compare December 10, 2019 16:09
@Harmoniker1 Harmoniker1 changed the title fix #298272, fix #298363: inspector issues fix #298272, fix #298363: inspector title issues Dec 11, 2019
@anatoly-os anatoly-os added this to the MuseScore 3.4 milestone Dec 16, 2019
@Harmoniker1 Harmoniker1 changed the title fix #298272, fix #298363: inspector title issues [Inspector] fix #298272, fix #298363: inspector title issues Dec 18, 2019
…subtype doesn't update inspector title

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

From 2.x to 3.x, a change was made which leaded to the issue: if `oSameTypes != sameTypes`, inspectors will not be updated. Even if slur and tie/breath and caesura/articulation and ornament are both selected, for each group `sameType` will continue to give `true`, and so the inspector is not updated.

This patch adds another field: `sameSubtypes`. If `sameTypes` is `true` but the subtypes are different, the inspector will be updated too.
@anatoly-os anatoly-os merged commit 1279610 into musescore:master Jan 15, 2020
anatoly-os added a commit that referenced this pull request Jan 15, 2020
[Inspector] fix #298272, fix #298363: inspector title issues
@Harmoniker1 Harmoniker1 deleted the ornament-inspector branch January 15, 2020 11:21
Jojo-Schmitz added a commit to Jojo-Schmitz/MuseScore that referenced this pull request Jan 15, 2020
Fixes a MinGW warning and logical flaw.
dmitrio95 added a commit that referenced this pull request Jan 16, 2020
anatoly-os pushed a commit that referenced this pull request Jan 17, 2020
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

4 participants