1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Fix shortcut_keys_enabled in TextEdit

This commit is contained in:
ConteZero
2022-04-08 15:13:32 +02:00
parent bf153b82c7
commit a3d82f5afb

View File

@@ -1944,8 +1944,8 @@ void TextEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
return;
}
if (is_shortcut_keys_enabled()) {
// SELECT ALL, SELECT WORD UNDER CARET, CUT, COPY, PASTE.
if (k->is_action("ui_text_select_all", true)) {
select_all();
accept_event();
@@ -1983,6 +1983,7 @@ void TextEdit::gui_input(const Ref<InputEvent> &p_gui_input) {
accept_event();
return;
}
}
// MISC.
if (k->is_action("ui_menu", true)) {