summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-06-05 11:43:32 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2019-06-11 08:10:07 +0300
commit63d8dc09208152f76cb47eb191ce04377927a9fc (patch)
tree38b1f1f112f88289d1b493d4270fa4b575e8ea50 /scene/gui
parent197b65f32ac811f79bc5599fbfe8cf83914b6873 (diff)
Fix third and fourth level (AltGr / ⌥ modifier) keys input in LineEdit.
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/line_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp
index 58bdde1ffd..da6bff8ab8 100644
--- a/scene/gui/line_edit.cpp
+++ b/scene/gui/line_edit.cpp
@@ -539,7 +539,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) {
if (handled) {
accept_event();
- } else if (!k->get_alt() && !k->get_command()) {
+ } else if (!k->get_command()) {
if (k->get_unicode() >= 32 && k->get_scancode() != KEY_DELETE) {
if (editable) {