summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2016-06-30 08:04:26 +0200
committerGitHub <noreply@github.com>2016-06-30 08:04:26 +0200
commitda2f7e3c3847e1a50ca7cca2575b56288f865b7b (patch)
tree3dd2c81d7f8436d151c471188bb0f3a1a5148952 /scene
parenta3dec742e94f12df9ce99411181000c740fa73af (diff)
parent8f259ff5ca04635d3c229c1947741fe828a96f98 (diff)
Merge pull request #5419 from djrm/shortcuts
Shortcuts for script switching in script Mode
Diffstat (limited to 'scene')
-rw-r--r--scene/gui/text_edit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp
index 3adf129ce5..e106f0dfc6 100644
--- a/scene/gui/text_edit.cpp
+++ b/scene/gui/text_edit.cpp
@@ -1978,6 +1978,7 @@ void TextEdit::_input_event(const InputEvent& p_input_event) {
}
} break;
case KEY_TAB: {
+ if (k.mod.command) break; // avoid tab when command
if (readonly)
break;