浏览代码

Fix theme not updating with changes

Guilherme Felipe 7 年之前
父节点
当前提交
048f149478
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      editor/plugins/script_editor_plugin.cpp

+ 3 - 0
editor/plugins/script_editor_plugin.cpp

@@ -1215,6 +1215,9 @@ void ScriptEditor::_notification(int p_what) {
 			script_forward->set_icon(get_icon("Forward", "EditorIcons"));
 			script_back->set_icon(get_icon("Back", "EditorIcons"));
 
+			members_overview_alphabeta_sort_button->set_icon(get_icon("Sort", "EditorIcons"));
+			filename->add_style_override("normal", editor->get_gui_base()->get_stylebox("normal", "LineEdit"));
+
 			recent_scripts->set_as_minsize();
 		} break;