mirror of
https://github.com/godotengine/godot.git
synced 2024-11-14 08:03:05 +00:00
Revert "solved ctrl + alt + special character Issue #6851"
(cherry picked from commit 8b7f582f22
)
This commit is contained in:
parent
f78937a394
commit
5c80c94449
@ -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 };
|
||||
|
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user