From 0bf5d86546cd4829655befd1896eac31175d925e Mon Sep 17 00:00:00 2001 From: chanon Date: Mon, 26 Dec 2016 15:38:48 +0700 Subject: fix ColorPicker not correctly updating after pasting hex html color --- scene/gui/color_picker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scene') diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp index 5ced54b825..1e5731dab2 100644 --- a/scene/gui/color_picker.cpp +++ b/scene/gui/color_picker.cpp @@ -162,7 +162,7 @@ void ColorPicker::_html_entered(const String& p_html) { if (!is_inside_tree()) return; - _update_color(); + set_color(color); emit_signal("color_changed",color); } -- cgit v1.2.3