QmlDesigner.PropertyEditor: Setting the color if gradient is removed/added

We have to properly setup the color of the color editor, if we add or
remove a gradient.

Change-Id: I3aac64e9957036343ff304f1b163c4c480b5e976
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>