Revert "solved ctrl + alt + special character Issue #6851"

(cherry picked from commit 8b7f582f22)
This commit is contained in:
Rémi Verschelde 2021-01-05 14:41:35 +01:00
parent f78937a394
commit 5c80c94449
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 2 additions and 3 deletions

View File

@ -568,9 +568,8 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
if (handled) {
accept_event();
} else if (!k->get_command() || (k->get_command() && k->get_alt())) {
} else if (!k->get_command()) {
if (k->get_unicode() >= 32 && k->get_scancode() != KEY_DELETE) {
if (editable) {
selection_delete();
CharType ucodestr[2] = { (CharType)k->get_unicode(), 0 };

View File

@ -3766,7 +3766,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
return;
}
if (!scancode_handled && (!k->get_command() || (k->get_command() && k->get_alt()))) { // For German keyboards.
if (!scancode_handled && !k->get_command()) { // For German keyboards.
if (k->get_unicode() >= 32) {