fixed typo in QML version

which rendered it unsuable
only change to black if needed

to avoid modifying a score without need.
In the QML version this still leads to the score being marked as
modified though.