Browse Source

Updates script list colors after theme is changed

Yuri Roubinsky 4 years ago
parent
commit
f100fb9f10
1 changed files with 3 additions and 0 deletions
  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"));
 			filename->add_theme_style_override("normal", editor->get_gui_base()->get_theme_stylebox("normal", "LineEdit"));
 
 
 			recent_scripts->set_as_minsize();
 			recent_scripts->set_as_minsize();
+
+			_update_script_colors();
+			_update_script_names();
 		} break;
 		} break;
 
 
 		case NOTIFICATION_READY: {
 		case NOTIFICATION_READY: {