Colorpalette: fix broken binding when adding colors


When adding a new color the example assigned a value to
'colorRGBField.text'. This breaks the binding where colorRGBField.text
was bound to currentColor. As a result, the client always sent the
same green color to server when creating new colors.

Instead update just the currentColor and let colorRGBField.text
update itself through binding.

Pick-to: 6.11 6.10 6.8
Change-Id: I90bb5177f3b49b828dbb690b570e8ba926905af6
Reviewed-by: Matthias Rauter <matthias.rauter@qt.io>
commitf4f2a5534afbdb0828187afd826b7a94469d6d46
parentc676f3962dac11da5ccf507171265dcc819add66
authorJuha Vuolle <juha.vuolle@qt.io>
committerJuha Vuolle <juha.vuolle@qt.io>
commit timeTue, 17 Feb 2026 12:11:28 +0200