diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-04-05 15:23:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-05 15:23:48 +0200 |
commit | a49f3ba5accea027bf495465b9908b879b6877ab (patch) | |
tree | b4bdfaadf6d4732c1472fe55dc15cc86c4b9866f | |
parent | cffbb99327037b8356777964b2ba9f27b4f8fd47 (diff) | |
parent | cca1fab1c431ef03898e07c7fdf69ec9c7c59529 (diff) |
Merge pull request #27401 from Calinou/fix-restart-label-color
Use the "warning" color for the "restart required" label
-rw-r--r-- | editor/project_settings_editor.cpp | 2 | ||||
-rw-r--r-- | editor/settings_config_dialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 21ba6efb82..bb72c621be 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -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: { diff --git a/editor/settings_config_dialog.cpp b/editor/settings_config_dialog.cpp index 611067214d..d6756b2bb3 100644 --- a/editor/settings_config_dialog.cpp +++ b/editor/settings_config_dialog.cpp @@ -187,7 +187,7 @@ void EditorSettingsDialog::_update_icons() { 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")); } void EditorSettingsDialog::_update_shortcuts() { |