summaryrefslogtreecommitdiff
path: root/editor/plugins/script_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-05-20 09:17:58 +0200
committerGitHub <noreply@github.com>2021-05-20 09:17:58 +0200
commitc0de820d4034cd2f938d1be164d8419b64e00fae (patch)
tree24448aeb24309f6cfc85e1144d88f90517a99307 /editor/plugins/script_editor_plugin.cpp
parent7f6ee00b4e06955457c00359792db1b35b157b46 (diff)
parentf100fb9f105a439e4d93dc2cb4588d02ef5f1f96 (diff)
Merge pull request #48872 from Chaosus/editor_fix_script_list_theme
Updates script list colors after theme is changed
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r--editor/plugins/script_editor_plugin.cpp3
1 files changed, 3 insertions, 0 deletions
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: {