summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2021-08-27 20:05:05 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2021-08-28 11:27:23 +0100
commitde009cb5ae9b42f8650a7ed6676e75db0259a2a1 (patch)
treef7707609e8328a5df43bf62cab348e14cf903b77 /editor/plugins
parent90a35dac489bcbe39de35af661367519b411cb98 (diff)
Optimise TextEdit get height and width
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/script_text_editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp
index 5f48106afc..bec134c7f7 100644
--- a/editor/plugins/script_text_editor.cpp
+++ b/editor/plugins/script_text_editor.cpp
@@ -158,7 +158,6 @@ void ScriptTextEditor::enable_editor() {
editor_enabled = true;
_enable_code_editor();
- _set_theme_for_script();
_validate_script();
}