Merge pull request #106526 from roughbits01/line-edit-select-all-web

[Web] Fix `LineEdit` `select_all_on_focus` behavior when using a virtual keyboard
This commit is contained in:
Thaddeus Crews 2025-06-27 09:39:58 -05:00
commit a39a83a990
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -75,7 +75,7 @@ void LineEdit::_edit(bool p_show_virtual_keyboard) {
editing = true;
_validate_caret_can_draw();
if (p_show_virtual_keyboard) {
if (p_show_virtual_keyboard && !pending_select_all_on_focus) {
show_virtual_keyboard();
}
queue_redraw();