1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Merge pull request #37769 from HellonLegs/master

solved ctrl + alt + special character Issue #6851
This commit is contained in:
Rémi Verschelde
2020-08-14 13:03:07 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -578,7 +578,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_keycode() != KEY_DELETE) {
if (editable) {
selection_delete();

View File

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