LineEdit/TextEdit: solved control + alt issue
(cherry picked from commit f412237f38
)
This commit is contained in:
parent
197b375b89
commit
9340385731
2 changed files with 2 additions and 2 deletions
|
@ -567,7 +567,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
|
|||
|
||||
if (handled) {
|
||||
accept_event();
|
||||
} else if (!k->get_command()) {
|
||||
} else if (!k->get_command() || (k->get_command() && k->get_alt())) {
|
||||
if (k->get_unicode() >= 32 && k->get_scancode() != KEY_DELETE) {
|
||||
|
||||
if (editable) {
|
||||
|
|
|
@ -3735,7 +3735,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!scancode_handled && !k->get_command()) { // For German keyboards.
|
||||
if (!scancode_handled && (!k->get_command() || (k->get_command() && k->get_alt()))) { // For German keyboards.
|
||||
|
||||
if (k->get_unicode() >= 32) {
|
||||
|
||||
|
|
Loading…
Reference in a new issue