From f412237f380d0590bed6bc89443fb6fa2bbe740d Mon Sep 17 00:00:00 2001 From: HellonLegs <42913397+HellonLegs@users.noreply.github.com> Date: Fri, 10 Apr 2020 19:49:51 +0200 Subject: solved control + alt issue --- scene/gui/line_edit.cpp | 2 +- scene/gui/text_edit.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index b9b7560f2e..283f9af757 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -569,7 +569,7 @@ void LineEdit::_gui_input(Ref 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) { diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 36e35897d1..17427dc17d 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3762,7 +3762,7 @@ void TextEdit::_gui_input(const Ref &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) { -- cgit v1.2.3