From b04c9a1b66dc709e2ad399fe4d0a2d7052657882 Mon Sep 17 00:00:00 2001 From: toger5 Date: Fri, 18 May 2018 19:46:40 +0200 Subject: [PATCH] fixed capital A osx (cherry picked from commit 6476b708d9275c279f76c64caadcaccbe4e618e5) --- scene/gui/text_edit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 6694f8dfd8c..e956af18d34 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3006,13 +3006,13 @@ void TextEdit::_gui_input(const Ref &p_gui_input) { case KEY_A: { #ifndef APPLE_STYLE_KEYS - if (!k->get_command() || k->get_shift() || k->get_alt()) { + if (!k->get_control() || k->get_shift() || k->get_alt()) { scancode_handled = false; break; } select_all(); #else - if (k->get_alt() || (!k->get_shift() && !k->get_command() && !k->get_control())) { + if ((!k->get_command() && !k->get_control())) { scancode_handled = false; break; }