aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/text_edit.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2016-06-30 08:04:26 +0200
committerGitHub2016-06-30 08:04:26 +0200
commitda2f7e3c3847e1a50ca7cca2575b56288f865b7b (patch)
tree3dd2c81d7f8436d151c471188bb0f3a1a5148952 /scene/gui/text_edit.cpp
parenta3dec742e94f12df9ce99411181000c740fa73af (diff)
parent8f259ff5ca04635d3c229c1947741fe828a96f98 (diff)
downloadgodot-da2f7e3c3847e1a50ca7cca2575b56288f865b7b.tar.gz
godot-da2f7e3c3847e1a50ca7cca2575b56288f865b7b.tar.zst
godot-da2f7e3c3847e1a50ca7cca2575b56288f865b7b.zip
Merge pull request #5419 from djrm/shortcuts
Shortcuts for script switching in script Mode
Diffstat (limited to 'scene/gui/text_edit.cpp')
-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 3adf129ce..e106f0dfc 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;