summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authortoger5 <toger5@hotmail.de>2018-05-11 04:30:05 +0200
committertoger5 <toger5@hotmail.de>2018-05-11 04:30:05 +0200
commitd927e972d1e9794b10e058345e8bd46d511242d6 (patch)
treeaaabe361a0c390976656611e32c8f7f050145ca4 /scene
parent1ec2fa42f83ec107d346e610496a547bde861725 (diff)
fixed a input not registered in osx script editor
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/text_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 4ff74dbb3f..82b86820bf 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -2851,7 +2851,7 @@ void TextEdit::_gui_input(const Ref<InputEvent> &p_gui_input) {
}
select_all();
#else
- if (k->get_alt()) {
+ if (k->get_alt() || (!k->get_shift() && !k->get_command() && !k->get_control())) {
scancode_handled = false;
break;
}