Skip to content

Commit 402a527

Browse files
Fix select_all_on_focus behaviour on web export with virtual keyboard
1 parent ca1e478 commit 402a527

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scene/gui/line_edit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void LineEdit::_edit(bool p_show_virtual_keyboard) {
7575
editing = true;
7676
_validate_caret_can_draw();
7777

78-
if (p_show_virtual_keyboard) {
78+
if (p_show_virtual_keyboard && !pending_select_all_on_focus) {
7979
show_virtual_keyboard();
8080
}
8181
queue_redraw();

0 commit comments

Comments
 (0)