Explorar o código

Merge pull request #48872 from Chaosus/editor_fix_script_list_theme

Updates script list colors after theme is changed
Rémi Verschelde %!s(int64=4) %!d(string=hai) anos
pai
achega
c0de820d40
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      editor/plugins/script_editor_plugin.cpp

+ 3 - 0
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: {