diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-07-26 14:05:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-26 14:05:56 +0200 |
commit | 5700429e4edca4ba90a406976ac3e8b337a50eb8 (patch) | |
tree | 182556e73f95ccc32ca4ea839a737d2d9db9448d /editor/code_editor.cpp | |
parent | 42d320beca9c33f8bd54392296be2d133d671e9e (diff) | |
parent | ccff2f2551c5749e1c7d2976222013f582d767b1 (diff) | |
download | redot-engine-5700429e4edca4ba90a406976ac3e8b337a50eb8.tar.gz |
Merge pull request #33760 from nekomatata/script-editor-init-optimization
Optimized ScriptEditor initialization when many scripts are loaded
Diffstat (limited to 'editor/code_editor.cpp')
-rw-r--r-- | editor/code_editor.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editor/code_editor.cpp b/editor/code_editor.cpp index 9a87d6d38c..37db3ba780 100644 --- a/editor/code_editor.cpp +++ b/editor/code_editor.cpp @@ -1456,8 +1456,6 @@ void CodeTextEditor::set_edit_state(const Variant &p_state) { text_editor->set_line_as_bookmark(bookmarks[i], true); } } - - text_editor->grab_focus(); } void CodeTextEditor::set_error(const String &p_error) { |