aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchanon2016-12-26 15:38:48 +0700
committerRémi Verschelde2017-01-12 19:15:28 +0100
commit139701942449be8fcfa4e4f1f6af5e45aa8e5c22 (patch)
tree37c5227417cfd9a8a5348c6f3beb7f54a8c4b565
parenteea6c436763b6df2c2e589fac00712ed39aec832 (diff)
downloadgodot-139701942449be8fcfa4e4f1f6af5e45aa8e5c22.tar.gz
godot-139701942449be8fcfa4e4f1f6af5e45aa8e5c22.tar.zst
godot-139701942449be8fcfa4e4f1f6af5e45aa8e5c22.zip
fix ColorPicker not correctly updating after pasting hex html color
(cherry picked from commit 0bf5d86546cd4829655befd1896eac31175d925e)
-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 cf32abf11..ace80e798 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);
}