Browse Source

Merge pull request #19399 from guilhermefelipecgs/fix_theme_change

Fix theme not updating with changes
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
9d23f1bf1a
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;