musescore/MuseScore — pull request #1069 by MarcSabatella (2014-07-25 21:48:12+00:00)
Title: fix #28301: text style assignment does not take effect

We were using value() in setProperties, but I guess you can't do that for enum classes.

Even though it was only value() that was failing, I added canConvert() checks for TextStyle, Fraction, and Groups in their respective setProperties functions as well just to be safe.