2
0
Fork 0

Focus and select line edit every time color is changed. Fixes #2586

2.0
MarianoGNU 2016-01-26 17:24:58 +07:00
parent ba4f9d1be3
commit 5d3fb49826
1 changed files with 2 additions and 0 deletions

@ -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;