diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2022-09-06 10:14:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 10:14:49 +0200 |
commit | c36735ef9779cf71d1ce749927faee53f08263a8 (patch) | |
tree | 79b72d3f73ceb5e244967632dc9b6a19bd10eed1 /editor/plugins/script_text_editor.cpp | |
parent | 017c4f5608d2fd5259066357942d713956e73e03 (diff) | |
parent | 841b4dfeeb86b366106597f84f550b3d289cfeba (diff) | |
download | redot-engine-c36735ef9779cf71d1ce749927faee53f08263a8.tar.gz |
Merge pull request #65402 from m4gr3d/disable_android_editor_auto_focus_main
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
-rw-r--r-- | editor/plugins/script_text_editor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index fff956a05e..cc955eae76 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -340,7 +340,9 @@ void ScriptTextEditor::set_edit_state(const Variant &p_state) { } if (editor_enabled) { +#ifndef ANDROID_ENABLED ensure_focus(); +#endif } } |