Skip to content

Commit

Permalink
Revert line edit losing focus on ui_escape
Browse files Browse the repository at this point in the history
  • Loading branch information
rsubtil committed Oct 1, 2023
1 parent abcbd62 commit 381098a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scene/gui/line_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -482,11 +482,6 @@ void LineEdit::gui_input(const Ref<InputEvent> &p_event) {
return;
}

if (k->is_action("ui_cancel")) {
release_focus();
return;
}

if (is_shortcut_keys_enabled()) {
if (k->is_action("ui_copy", true)) {
copy_text();
Expand Down

0 comments on commit 381098a

Please sign in to comment.