瀏覽代碼

Merge pull request #48872 from Chaosus/editor_fix_script_list_theme

Updates script list colors after theme is changed
Rémi Verschelde 4 年之前
父節點
當前提交
c0de820d40
共有 1 個文件被更改,包括 3 次插入0 次删除
  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: {