From f100fb9f105a439e4d93dc2cb4588d02ef5f1f96 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Thu, 20 May 2021 08:55:32 +0300 Subject: Updates script list colors after theme is changed --- editor/plugins/script_editor_plugin.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editor') diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index a4fbc57e6b..1147267ce0 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1503,6 +1503,9 @@ void ScriptEditor::_notification(int p_what) { filename->add_theme_style_override("normal", editor->get_gui_base()->get_theme_stylebox("normal", "LineEdit")); recent_scripts->set_as_minsize(); + + _update_script_colors(); + _update_script_names(); } break; case NOTIFICATION_READY: { -- cgit v1.2.3