aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2014-10-09 00:06:51 -0300
committerJuan Linietsky2014-10-09 00:06:51 -0300
commit9142d6fc408d72178f102bad97c0c2fe1902ce55 (patch)
tree8c9852d0919ae1890f5a03530775be5e730e2e46 /tools/editor/plugins/script_editor_plugin.cpp
parentee049d1913a1e9ff78f58effee62e6d6c19dfa7b (diff)
downloadgodot-9142d6fc408d72178f102bad97c0c2fe1902ce55.tar.gz
godot-9142d6fc408d72178f102bad97c0c2fe1902ce55.tar.zst
godot-9142d6fc408d72178f102bad97c0c2fe1902ce55.zip
Misc Bits
-=-=-=-=- -Added more missing icons to nodes. -Added more 3D split view modes -Fixed annoying script editor bug with keyboard focus
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 1c87dd081..ba6e153e2 100644
--- a/tools/editor/plugins/script_editor_plugin.cpp
+++ b/tools/editor/plugins/script_editor_plugin.cpp
@@ -1105,6 +1105,8 @@ void ScriptEditor::ensure_select_current() {
if (!ste)
return;
Ref<Script> script = ste->get_edited_script();
+
+ ste->get_text_edit()->grab_focus();
}
}