From fe8e7a0b223ea8c631e6398318e876b0409f8b7c Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 24 Jun 2023 02:12:13 +0200 Subject: [PATCH] Use bullet points in shader editor creation dialog This is consistent with the script creation dialog. (cherry picked from commit bce298561537828191d11f6c055db9162b2820cc) --- editor/shader_create_dialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/shader_create_dialog.cpp b/editor/shader_create_dialog.cpp index 7d7ea2f509d..3d8a6e368d8 100644 --- a/editor/shader_create_dialog.cpp +++ b/editor/shader_create_dialog.cpp @@ -464,7 +464,7 @@ String ShaderCreateDialog::_validate_path(const String &p_path) { } void ShaderCreateDialog::_msg_script_valid(bool valid, const String &p_msg) { - error_label->set_text("- " + p_msg); + error_label->set_text(String::utf8("• ") + p_msg); if (valid) { error_label->add_theme_color_override("font_color", gc->get_theme_color(SNAME("success_color"), SNAME("Editor"))); } else { @@ -473,7 +473,7 @@ void ShaderCreateDialog::_msg_script_valid(bool valid, const String &p_msg) { } void ShaderCreateDialog::_msg_path_valid(bool valid, const String &p_msg) { - path_error_label->set_text("- " + p_msg); + path_error_label->set_text(String::utf8("• ") + p_msg); if (valid) { path_error_label->add_theme_color_override("font_color", gc->get_theme_color(SNAME("success_color"), SNAME("Editor"))); } else {