1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00

Use the "warning" color for the "restart required" label

This makes the color match the warning icon placed besides the label.

(cherry picked from commit cca1fab1c4)
This commit is contained in:
Hugo Locurcio
2019-03-25 14:04:31 +01:00
committed by Rémi Verschelde
parent 59b2f02ac7
commit afe6d654d5
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ void ProjectSettingsEditor::_notification(int p_what) {
restart_close_button->set_icon(get_icon("Close", "EditorIcons"));
restart_container->add_style_override("panel", get_stylebox("bg", "Tree"));
restart_icon->set_texture(get_icon("StatusWarning", "EditorIcons"));
restart_label->add_color_override("font_color", get_color("error_color", "Editor"));
restart_label->add_color_override("font_color", get_color("warning_color", "Editor"));
} break;
case NOTIFICATION_POPUP_HIDE: {