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 #280950: Text style style changes not applied to existing chord symbols #4650

Merged

Conversation

mattmcclinch
Copy link
Contributor

@mattmcclinch mattmcclinch commented Feb 7, 2019

Fixes https://musescore.org/en/node/280950.

There is no need for Harmony to override TextBase::styleChanged, since TextBase::styleChanged calls setProperty for all the styled properties, and Harmony::setProperty calls render().

Overriding this function without calling TextBase::styleChanged() was the cause of the problem.

@mattmcclinch mattmcclinch force-pushed the 280950-harmony-style-changed branch 2 times, most recently from 166a617 to a02daf3 Compare February 7, 2019 22:03
libmscore/harmony.cpp Outdated Show resolved Hide resolved
@MarcSabatella
Copy link
Contributor

Gotta love those fixes that work by deleting code!

@anatoly-os anatoly-os merged commit 5c5cd87 into musescore:master Mar 4, 2019
anatoly-os added a commit that referenced this pull request Mar 8, 2019
fix #280950: Text style style changes not applied to existing chord symbols
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

3 participants