From 943f6aa1134856fe9afe37465d7521a30e1c07ba Mon Sep 17 00:00:00 2001 From: Zi Ye Date: Thu, 22 Feb 2024 12:06:09 -0600 Subject: [PATCH] Removed some redundant calls from ScriptEditor. --- editor/plugins/script_editor_plugin.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index 32dae74ba40..ab0c9aa172b 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -866,8 +866,6 @@ void ScriptEditor::_close_tab(int p_idx, bool p_save, bool p_history_back) { if (script_close_queue.is_empty()) { _update_history_arrows(); _update_script_names(); - _update_members_overview_visibility(); - _update_help_overview_visibility(); _save_layout(); _update_find_replace_bar(); } @@ -1670,7 +1668,6 @@ void ScriptEditor::_notification(int p_what) { recent_scripts->reset_size(); if (is_inside_tree()) { - _update_script_colors(); _update_script_names(); } } break; @@ -2820,7 +2817,6 @@ void ScriptEditor::_apply_editor_settings() { EditorSettings::get_singleton()->load_text_editor_theme(); } - _update_script_colors(); _update_script_names(); ScriptServer::set_reload_scripts_on_save(EDITOR_GET("text_editor/behavior/files/auto_reload_and_parse_scripts_on_save"));