musescore/MuseScore — pull request #25 by mgavioli (2012-07-25 12:48:34+00:00)
Title: (Un)checking "Size is spatium" in Image Inspector applies size change twice

Issue: In _valueChanged()_ function of Image Inspector (_inspectorimage.cpp_), checking/unchecking "Size is spatium" box modifies size H and size W boxes. As a change to each entails a change to the other, size change ends up applied twice.

Fix: by blocking size H and size W signals before modifiyng them.

(+ better documenting SCALE_W and SCALE_H cases of same function; only cosmetic, no code change)