summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scene/gui/color_picker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/color_picker.cpp b/scene/gui/color_picker.cpp
index 8685ec1c99..bcf25a93c1 100644
--- a/scene/gui/color_picker.cpp
+++ b/scene/gui/color_picker.cpp
@@ -154,6 +154,8 @@ void ColorPicker::_update_color() {
}
html->set_text(color.to_html(edit_alpha && color.a<1));
+ html->grab_focus();
+ html->select();
sample->update();
updating=false;