Fix shortcut_keys_enabled in TextEdit
This commit is contained in:
parent
bf153b82c7
commit
a3d82f5afb
1 changed files with 38 additions and 37 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue