You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Merge pull request #37769 from HellonLegs/master
solved ctrl + alt + special character Issue #6851
This commit is contained in:
@@ -578,7 +578,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
|
|||||||
|
|
||||||
if (handled) {
|
if (handled) {
|
||||||
accept_event();
|
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 (k->get_unicode() >= 32 && k->get_keycode() != KEY_DELETE) {
|
||||||
if (editable) {
|
if (editable) {
|
||||||
selection_delete();
|
selection_delete();
|
||||||
|
|||||||
@@ -3604,7 +3604,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
|
|||||||
return;
|
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 (k->get_unicode() >= 32) {
|
||||||
if (readonly) {
|
if (readonly) {
|
||||||
|
|||||||
Reference in New Issue
Block a user