Skip to content

Commit

Permalink
Merge pull request #78631 from Calinou/shader-editor-creation-dialog-…
Browse files Browse the repository at this point in the history
…use-bullet-points

Use bullet points in shader editor creation dialog
  • Loading branch information
akien-mga committed Jul 8, 2023
2 parents ea3aaea + bce2985 commit 02a4d09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions editor/shader_create_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 02a4d09

Please sign in to comment.