fix so that can be edited correctly by clicking on the Property.

http://osc.matsukei.net/issues/407 fixes #407