summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorchanon <chanon.s@gmail.com>2016-12-26 15:38:48 +0700
committerchanon <chanon.s@gmail.com>2016-12-26 15:38:48 +0700
commit0bf5d86546cd4829655befd1896eac31175d925e (patch)
treecd66ce98c820cbe5a745af8a563884e51e1e74a1 /scene
parentc798ff15510997fdbe6848687804f5e2cb17eefb (diff)
fix ColorPicker not correctly updating after pasting hex html color
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/color_picker.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}