Skip to content

Commit

Permalink
Revert "solved ctrl + alt + special character Issue godotengine#6851"
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Jan 5, 2021
1 parent 0abd7e7 commit 8b7f582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scene/gui/line_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ 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_keycode() != KEY_DELETE) {
if (editable) {
selection_delete();
Expand Down
2 changes: 1 addition & 1 deletion scene/gui/text_edit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3619,7 +3619,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
return;
}

if (!keycode_handled && (!k->get_command() || (k->get_command() && k->get_alt()))) { // For German keyboards.
if (!keycode_handled && !k->get_command()) { // For German keyboards.

if (k->get_unicode() >= 32) {
if (readonly) {
Expand Down

0 comments on commit 8b7f582

Please sign in to comment.