The attached patch fixes this issue for me; clicking 'edit' for a location now no longer corrupts the weather code value.
The attached patch fixes this issue for me; clicking 'edit' for a location now no longer corrupts the weather code value.