You've already forked godot
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:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user