Add a line break to error messages in the script editor

Fixes #71002
This commit is contained in:
Artyom Lunchenkov 2023-01-07 14:01:10 +06:00 committed by Rémi Verschelde
parent c79183817d
commit 613c060e0b
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 0 deletions

View File

@ -548,6 +548,7 @@ void ScriptTextEditor::_update_warnings() {
warnings_panel->push_cell();
warnings_panel->add_text(w.message);
warnings_panel->add_newline();
warnings_panel->pop(); // Cell.
}
warnings_panel->pop(); // Table.
@ -569,6 +570,7 @@ void ScriptTextEditor::_update_errors() {
errors_panel->push_cell();
errors_panel->add_text(err.message);
errors_panel->add_newline();
errors_panel->pop(); // Cell.
}
errors_panel->pop(); // Table